Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility issues MetaPhlan3 #3

Open
HerderB opened this issue Jun 25, 2021 · 1 comment
Open

Compatibility issues MetaPhlan3 #3

HerderB opened this issue Jun 25, 2021 · 1 comment

Comments

@HerderB
Copy link

HerderB commented Jun 25, 2021

Hello,

I'm experiencing compatibility issues when using MetaPhlan3 (3.0.9) input in export2graphlan (0.22). I'm not getting any error but the resulting Graphlan (1.1.3) graph is incorrect. See image below.
ZR_BioPool_DNA_I_15308
ZR_BioPool_DNA_I_15308_metaphlan_profile.txt

I've tried the --legacy-output option in MetaPhlan but the results remain the same.
ZR_BioPool_DNA_I_15308
ZR_BioPool_DNA_I_15308_metaphlan_profile.txt

When running export2graphlan and graphlan with the same versions and code for MetaPhlan2 output, the graph is displayed correctly. Are there any parameters that need to be set differently in conjunction with metaphlan3?

metaphlan ZR_BioPool_DNA_I_15308.fastq --bowtie2out ZR_BioPool_DNA_I_15308_bowtie.bz2 --nproc 8 --input_type fastq --bowtie2db /nfs/databases/metaphlan3/20210602/ -x mpa_v30_CHOCOPhlAn_201901 --biom ZR_BioPool_DNA_I_15308_biom.txt > ZR_BioPool_DNA_I_15308_metaphlan_profile.txt

export2graphlan.py -i ZR_BioPool_DNA_I_15308_metaphlan_profile.txt --tree ZR_BioPool_DNA_I_15308.tree.txt --annotation ZR_BioPool_DNA_I_15308.annot.txt --most_abundant 100 --abundance_threshold 1 --least_biomarkers 10 --annotations 5,6 --external_annotations 7 --min_clade_size 1 --annotation_legend_font_size 8 --fname_row 3 --skip_rows 0,1,2,3

graphlan_annotate.py --annot ZR_BioPool_DNA_I_15308.annot.txt ZR_BioPool_DNA_I_15308.tree.txt ZR_BioPool_DNA_I_15308.xml
graphlan.py --dpi 300 ZR_BioPool_DNA_I_15308.xml ZR_BioPool_DNA_I_15308.png

Is this a known issue?

@HerderB
Copy link
Author

HerderB commented Jun 25, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant