Git Product home page Git Product logo

Comments (3)

cfrioux avatar cfrioux commented on May 29, 2024

Hello Adrien,

I'll try to answer to both of your questions. So far m2m_analysis is not as flexible as it could be as it was implemented mainly in order to reproduce the figures from our manuscript.

1 - By default we look at the phylum and no other taxonomic level. We might modify that in the near future. I know that @ArnaudBelcour intends to work again on m2m_analysis over the next few weeks. In the meantime should you want to look at the genus-level for instance, you could modify the code in this function, and in particular L315 which is where we retrieve the first four characters of phylum for counting. If you change rank[0] for rank[4], you will calculate your stats at the genus level.

2 - Indeed we introduced a mapping step in the code in order to prevent long names to decrease readability in the figure. The matching between the new names and the original ones is given in output_dir/taxon_phylum.tsv. If you do not want such mapping to be done, you can rerun the analysis without the --taxon taxon_id.tsv argument. See the attached figures that were generated with and without the --taxon argument.
targets_toy bb_wtaxl
targets_toy

I hope this helps, please let me know if this is unclear.

from metage2metabo.

aassie avatar aassie commented on May 29, 2024

Thank you very much for your replies!

Sorry about 2) that I missed that file in my output directory!

from metage2metabo.

cfrioux avatar cfrioux commented on May 29, 2024

No worries, we will clarify the documentation.

from metage2metabo.

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.