MetaPhlAn4 (mpa_vJun23_CHOCOPhlAnSGB_202307): unexpected behavior with fix_relab_mpa4.py

Hi,

I used metaphlan 4.1 using mpa_vJun23_CHOCOPhlAnSGB_202307 version of the DB for taxonomy profiling. Then I learnt about the fix_relab_mpa4.py script to fix the RA of taxa at each rank. But my results show that the relative abundance values including unclassified sums up to 100% at each rank using mpa_vJun23_CHOCOPhlAnSGB_202307 and trying the fixing script just messes up the values at lower ranks. Can you please let me know what is wrong and where I have not understood it correctly. Thanks!

I have two files for your reference:

Hi @Saharb
Would it be possible for you to also upload in the dropbox the original output file of metaphlan for one of the samples, without any editing, so I can try to run the fixing script to see what is happening? Thanks

Dear Claudia,

Thanks for your reply. Sure! I have uploaded one file.

Thanks for checking it.