Giter VIP home page Giter VIP logo

Comments (5)

gavinmdouglas avatar gavinmdouglas commented on August 22, 2024 1

Hey Jamie,

This is definitely a problem, thanks for pointing this out. I have re-written how the stratified data is output and it is much faster now. I haven't added an option yet for non-stratified output only.

Thanks,

Gavin

from picrust2.

gavinmdouglas avatar gavinmdouglas commented on August 22, 2024

metagenome_pipeline.py outputs functions stratified by functional contributions by default now. per_sample_functions.py is still experimental script to use probability distributions rather than discrete predictions.

from picrust2.

jjmmii avatar jjmmii commented on August 22, 2024

Hi @gavinmdouglas , I updated the local clone today and noticed that metagenome_pipeline.py is taking a long time to run (job has been running for 8 hours and still running). I guess it's because it's calculating stratified output? Is there a way to turn off this option? Thank you so much.

Best,
-Jamie

from picrust2.

jjmmii avatar jjmmii commented on August 22, 2024

Thanks so much Gavin! It is blazing fast now, but I noticed there is much less number of lines in the pred_metagenome_unstrat.tsv compared to the OUT_PREFIX.genefamilies.biom.tsv in a previous version running with the same data (853 lines vs 3333 lines respectively). Also strangely, in pred_metagenome_strat.tsv, when I check which sequences are mapped to the EC's, only a few (9 out of 485 sequences) are used/output. For example:

$ cut -f2 pred_metagenome_strat.tsv | sort-uniq-count-rank
595     seq_16
549     seq_13
504     seq_11
455     seq_9
454     seq_4
454     seq_6
443     seq_2
442     seq_5
160     seq_7
1       sequence

Coincidentally these sequences are the very first ones in my data. Could this be a bug (i.e. not all output was written) or PICRUSt2 only mapped a few of my sequences to genes?

Best,
Jamie

from picrust2.

jjmmii avatar jjmmii commented on August 22, 2024

Just to follow-up, the problem was gone as of the latest clone of PICRUSt2 yesterday.

from picrust2.

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.