Code Monkey home page Code Monkey logo

capalyzer's People

Contributors

dcdanko avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

capalyzer's Issues

Fix Chao1 Diversity

Rarefied Chao1 and raw give very different results

> for n in [100, 1000, 10 * 1000, 100 * 1000, 1000 * 1000, 0]:
    print(table_factory.taxa_alpha_diversity(metric='chao1', rarefy=n)['SL280226'])
95.37651234634326
253.86701478272045
493.5870200957671
650.3338915219408
701.496205789874
2182.7178442962995

The measured richness (raw, not Chao1) of the unrarefied sample is 704. The sample has 1,052,098 taxonomic reads.

Diversity output files

Hi,
I am interested in performing the diversity analysis using the Metasub data.
I first installed capalyzer in python 3.7 and then I copy and paste the commands below in a script and ran it:

python3 diversity_estimatives.py

file (diversity_estimatives.py) content:
$from capalyzer.packet_parser import DataTableFactory

$table_factory = DataTableFactory("/home/users/luiza.araujo/Documents/CIPE/NGS/Microbiome/MetaSub/Jan_2019/sao_paulo")

$krakenhll_richness = table_factory.taxa_alpha_diversity(metric='richness', rarefy=1000000) # $krakenhll is the default tool
$metaphlan2_entropy = table_factory.taxa_alpha_diversity(tool='metaphlan2') # entropy is the default metric

It ran without any errors, however I cant find the output files with the diversities.
Can you help me with that?

Thanks!

PS: the /sao_paulo folder was downloaded from the /city/packets dropbox link.

diversities issues

Hi,
Could you help me with the following questions?

1- could you let us know the main differences between krakenhll and metaphlan?
2- Does Capalizer also calculates beta diversity (Bray-curtis, Jaccard and weighted/unweighted unifrac distances)?
3- In the diversities estimation, how could we use specific taxonomic levels (ex: analyzed by species or gender...)

Thanks!

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.