Giter Site home page Giter Site logo

Comments (3)

t-carroll avatar t-carroll commented on July 16, 2024

Was able to troubleshoot this further. Looks like in convert_matrix_from_mtx_to_loom.py, there is a block of code:

    path_genes    = os.path.join(path_input,'features.tsv')
    genes         = pd.read_csv(path_genes, sep='\t', header=None)
    genes.columns = ['gene_id','gene_id2']
    genes         = genes.drop(columns = ['gene_id2'])

Where it is expecting 2 columns in the "features.tsv" file. However, all of the relevant features.tsv files generated by the test pigx_scrnaseq command in my environment generate 3 column outputs. Here's an example, but it's the same for all the various features.tsv generated for each sample:
head -3 tests/out/Mapped/WT_HEK_4h_br1/hg19/WT_HEK_4h_br1_Solo.out/Gene/filtered/features.tsv

ENSG00000080573 ENSG00000080573 Gene Expression
ENSG00000267650 ENSG00000267650 Gene Expression
ENSG00000080511 ENSG00000080511 Gene Expression

I therefore modified the relevant code on my fork's devel branch to the following:

    path_genes    = os.path.join(path_input,'features.tsv')
    genes         = pd.read_csv(path_genes, sep='\t', header=None)
    genes.columns = ['gene_id','gene_id2','gene_expression']
    genes         = genes.drop(columns = ['gene_id2','gene_expression'])

And the test command now completes without error. Do the features.tsv files generated by your guix install on the test command only have two files? If so I imagine I have the wrong version of some dependency (maybe STAR? I have 2.7.5a).

In any case, the HTML report generated by my test command (attached) seemingly indicates I am having further issues with the pipeline, and may be generating incorrect results. For instance, the number of uniquely mapped UMIs is a tiny fraction of the total UMIs, and plots 3.0.2 and 3.0.3 are completely blank. Would it be possible to generate an example report for your test pipeline command (e.g. hg19.scRNA-Seq.report.html generated by your own installation) for users to compare against to insure proper installation?

Thanks for the help!
hg19.scRNA-Seq.report_files.zip

from pigx_scrnaseq.

frenkiboy avatar frenkiboy commented on July 16, 2024

Dear Tom,

Thank you so much for reporting the message. I'll look into the error and sort it out.

Could you please just tell me which pandas version you are using?

Best,

Vedran

from pigx_scrnaseq.

t-carroll avatar t-carroll commented on July 16, 2024

Hi Vedran,

Thanks for looking into it! It looks like I'm using pandas version 1.0.3:

pip freeze | grep "pandas"

pandas==1.0.3

from pigx_scrnaseq.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.