zjshi / Maast

Microbial agile accurate SNP Typer
MIT License
29 stars 2 forks source link

SNP Postion - Starting from 0? #23

Open Kadsae opened 9 months ago

Kadsae commented 9 months ago

Hello! Thanks for the tool - your efficient approach on generating vcf-files is a blessing.

We used Maast to align genomes and noticed that SNP positions were correctly identified but they are exactly one position off (e.q. published SNP position would be 72 but with Maast it is 71).

We think that it maybe has something to do with python starting counts with 0 instead of 1? Do you plan adding an option that the user is able to change the way of counting?

Best regards!