Thanks a lot! I got the following
(gdb) bt
#0 0x0000000000410171 in fai_fetch (fai=0x620370, str=<value optimized out>, len=0x620038) at faidx.c:289
#1 0x00000000004092c8 in glf_somatic (tid=0, pos=10354, n1=1, n2=1, pl1=0x628cd0, pl2=0x626120,
data=0x620010, snp_fh=0x625370)
at /home/zz/software/genome/somatic-sniper/src/lib/sniper/somatic_sniper.c:114
#2 0x00000000004086ee in bam_sspileup_file (fp1=0x630570, fp2=0x623a50, mask=1796, thresh=0,
func=0x409211 <glf_somatic>, func_data=0x620010, snp_fh=0x625370)
at /home/zz/software/genome/somatic-sniper/src/lib/sniper/sniper_pileup.c:258
#3 0x0000000000404341 in main (argc=6, argv=0x7fffffffe118)
at /home/zz/software/genome/somatic-sniper/src/exe/bam-somaticsniper/main.c:134
I found where the problem is and finaly got the problem fixed!! It was the index of the reference fasta! I downloaded the human_g1k_v37.fasta and human_g1k_v37.fasta.fai from the gatk bundle. However, this .fai file caused the error. I got a new .fai file by running samtools-0.1.6. And then it worked~!
Thank you very much, Tabbott!
I am also seeing the same "Floating point exception" while running v1.0.4. I am running it on a gene panel. I have checked that I have the same reference in the fasta and the bam files. Thanks!