sfu-compbio / mrsfast

mrsFAST: micro-read substitution-only Fast Alignment Search Tool
http://sfu-compbio.github.io/mrsfast/
BSD 3-Clause "New" or "Revised" License
28 stars 7 forks source link

ERROR: buffer overflow detected #19

Open SZ-qing opened 5 months ago

SZ-qing commented 5 months ago

Dear, I created the SNP index based on the vcf file of dbSNP156. An error occurs when performing SNP comparison: mrsfast --search hg38.fa --seq ./test/rfx5.fa --threads 6 -e 100 --disable-sam-header --snp dbsnp156Common ERROR :

==> This version is compiled without any SSE4 optimization <==
# Threads: 6
# Error: 2 (full sensitivity)
*** buffer overflow detected ***: terminated
Aborted

My vcf file like this: image And snp index created successfully:

Pre-processing VCF file ...
Chromosomes: 1027
Valid SNP locations: 21066777
Reading SNP locations .......
Reformatting data ...
Creating output in dbsnp156Common
21066777 SNP locations registered successfully

I performed an operation on the vcf file. If the two candidate alleles of a site are both greater than 0.5%, then the two SNPs are split into two lines, like the following: image

SZ-qing commented 5 months ago

SNP index using version 151 can be used normally, but version 156 cannot. The following is the file size of several versions of SNP index: image

Renqing1129 commented 5 months ago

Please help me @fhach image