diff --git a/metaphlan/utils/fix_relab_mpa4.py b/metaphlan/utils/fix_relab_mpa4.py index c0c7f50..0057e6b 100755 --- a/metaphlan/utils/fix_relab_mpa4.py +++ b/metaphlan/utils/fix_relab_mpa4.py @@ -61,6 +61,7 @@ def fix_relab_mpa4(input, output): for line in rf: if line.startswith('#mpa_v'): release = line.strip()[1:] + line = '_'.join(line.split('_')[:-1]) wf.write('{}_202403\n'.format(line.strip())) elif line.startswith('#') or line.startswith('UNCLASSIFIED'): wf.write(line)