Hello,
I ran StrainPhlAn and got the following error:
BLAST Database creation error: Near line 2936886, the local id is too long. Its length is 56 but the maximum allowed local id length is 50. Please find and correct all local ids that are too long.
After going through the provided inputs I think I have narrowed the problem to the --references
input. Apparently BLAST is not happy working with marker ids having more than 50 characters.
This is the entry in the FASTA that is creating this error:
>136841__A0A0A8RMF6__PAERUG_P44_Wales_1_VIM_2_11_12_06045 UniRef90_A0A0A8RMF6;k__Bacteria|p__Proteobacteria|c__Gammaproteobacteria|o__Pseudomonadales|f__Pseudomonadaceae|g__Pseudomonas|s__Pseudomonas_aeruginosa_group;GCA_001182945
ATGTTTCAAAGTACCGAGCAGGCGCTGGCCGTGGCCTACTGGATGTTCGAGCACCAGCCG
GGACCGAAGTCGTCGACGGCGATGGTGATCGATGGCCTGCGCGAGCGCTTCGATCGCAGC
TTCATCGAACACCTGCCCAGCGGTTTGAGTCCGCACGAATGGCAGGCCCAGGCGGTGATG
ACCGTGCGTTTCGCCCAGCGCCAGTTGGCTGCGCACCCACTGGAGCTGGCGGTGGTGCGG
In fact the id 136841__A0A0A8RMF6__PAERUG_P44_Wales_1_VIM_2_11_12_06045
has 56 characters, apparently way too many, any suggestions on how to proceed?
Iām using as reference the FASTA file obtained from running the following:
metaphlan --install
Bests!