OpenGene / UniqueKMER

Generate unique KMERs for every contig in a FASTA file
MIT License
43 stars 8 forks source link

terminate called after throwing an instance of 'std::out_of_range #2

Closed TheBiotech42 closed 3 years ago

TheBiotech42 commented 3 years ago

I am trying to create a kmerscollection of different viruses using fasta files but I get the error below for some fasta files.

Output 40/500: HW826641.1 JP 2014023536-A/12: Non-Diffusible Plant Virus Vector. unique: 5 terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::substr: __pos (which is 22) > this->size() (which is 21) /usr/bin/bash: line 1: 25212 Aborted

I am using standart fasta file downloaded from NCBI. I attached one of the problematic file in this issue (I have put it in txt but it his a .fa file normally).

I tried splitting the file in 1000 line but this seemed to not be the problem

Thank you for your time, TheBiotech

Virus_12305.txt