Skip to content

timyerg/Metaphlan-absolute-abundance-merger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

This is a modified (only one line added to the original script from Metaphlan) script to merge "absolute" abundances instead of relative ones from Metaphlan output.

Note that to get "absolute" abundances in addition to relative ones you need to run Metaphlan with -t rel_ab_w_read_stats added to the command.

How to use:

Download the script, make it executable (v equal to the version of the metaphlan, 3 or 4):

v=4 #metaphlan version
wget -O merge_metaphlan_tables_abs.py \
https://github.com/timyerg/Metaphlan-absolute-abundance-merger/blob/main/merge_metaphlan${v}_tables_abs.py?raw=true
chmod +x merge_metaphlan_tables_abs.py

Then run it as for relative abundance merging (provide the full path to the script to call it from the terminal).

Here is the link to Metaphlan3 repository: https://github.com/biobakery/MetaPhlAn

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages