[E::sam_hrecs_update_hashes] Duplicate entry "GL383855.1" in sam header
samtools view: failed to add PG line to the header
[W::hts_set_opt] Cannot change block size for this format
samtools sort: failed to read header from "-"
I wasn’t aware of this script so I performed the cleanup with my own.
I guess you already know it but the metaphlan4 vOct22 database has the same issue.
Btw, could you upload a new panphlan release on bioconda. The current version is quite old and buggy.