Now this script modification works with Metaphlan4. It is an original script from Metaphlan4, modified to merge “absolute” counts instead of relative ones.
- Download the file. Put it anywhere.
merge_metaphlan_tables_abs.txt (3.3 KB) - Rename it to replace “.txt” extension to “.py”
- Make it executable (replace “path_to” with a path to file):
chmod +x path_to/merge_metaphlan_tables_abs.py
- Run it as original script, but provide
path_to/merge_metaphlan_tables_abs.py
in a command, with a path to the script.