harvest icon indicating copy to clipboard operation
harvest copied to clipboard

Index Error

Open minisciencegirl opened this issue 9 years ago • 2 comments

I have been able to run Parsnp on a small subset of draft genomes (~20) in .fasta format. However, when I tried to scale up to a larger number (~200), I get the following error:
File "", line 656, in IndexError: string index out of range

Any suggestion on how to fix this error?

Thanks!

minisciencegirl avatar Jun 05 '15 23:06 minisciencegirl

Hello,

This error is most likely due to an empty or malformatted fasta file. Removing all such files from your genome directory should resolve the error. This should be fixed in the latest release (v1.2). please let me know if you continue to experience this error after removing the files and/or when using v1.2

treangen avatar Jun 06 '15 00:06 treangen

Hi!

I am running the latest release (v1.2) and removed all empty fasta files. I am still getting the same error (see below). Thanks!

-->Reading Genome (asm, fasta) files from JM_assembly_201503/.. |->[OK] -->Reading Genbank file(s) for reference (.gbk) .. |->[WARNING]: no genbank file provided for reference annotations, skipping.. Traceback (most recent call last): File "", line 656, in IndexError: string index out of range

minisciencegirl avatar Jun 09 '15 01:06 minisciencegirl