At line 512 of the meningotype.py there is the following:
mlst = nm_mlst(f).split('\t')[11]
The new version of mlst has only 10 fields.
In addition, the parsing of the output of MLST should be moved to the nm_mlst function. And, the identification of the ST position should not rely on the position being fixed. It should parse the header line from MLST and identify the index of ST.
At line 512 of the
meningotype.py
there is the following:mlst = nm_mlst(f).split('\t')[11]
The new version of mlst has only 10 fields.
In addition, the parsing of the output of MLST should be moved to the
nm_mlst
function. And, the identification of the ST position should not rely on the position being fixed. It should parse the header line fromMLST
and identify the index ofST
.