marbl / harvest

Other
52 stars 11 forks source link

Index Error #8

Open minisciencegirl opened 9 years ago

minisciencegirl commented 9 years ago

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!

treangen commented 9 years ago

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

minisciencegirl commented 9 years ago

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