fbreitwieser / pavian

🌈 Interactive analysis of metagenomics data
https://doi.org/10.1093/bioinformatics/btz715
367 stars 70 forks source link

Making sankey figure for classification outputs from GTDB-Tk #87

Open B-1991-ing opened 2 years ago

B-1991-ing commented 2 years ago

Dear pavian support team,

I am trying to make one sankey figure for my classification output - gtdbtk.bac120.summary.tsv.txt, I also transferred the gtdbtk.bac120.summary.tsv to format like gtdbtk_bac120_summary.tsv.txt. But, both don't conform the report format. Could you give me some suggestions?

gtdbtk.bac120.summary.tsv.txt gtdbtk_bac120_summary.tsv.txt

gtdbtk_bac120_summary.tsv.txt gtdbtk.bac120.summary.tsv.txt

I want to make one sankey figure like below for the summary of all samples's classification.Cited from Singleton et al 2021

Screenshot 2022-04-27 at 11 29 12

Thank you very much.

Best,

Bing

B-1991-ing commented 2 years ago

"Figure part b Total MAGs unclassi"ed by GTDB-Tk at each taxonomic level." may not be part of the left sankey figure but only one summary of the total MAG classification results.

jeffreyblanchard commented 8 months ago

I also really like the above figure. I am just looking to use pavian to make the sankey from the gtdb file. Any suggestions?