Why Do I Get "Floating Point Exception" Using Samview Tview ?
2
0
Entering edit mode
12.5 years ago
Pascal ★ 1.5k

Hi.

I'm getting "floating point exception" error using samtools tview the following way:

$ samtools view -hb ftp://ftp-trace.ncbi.nih.gov/1000genomes/ftp/data/NA12891/alignment/NA12891.chrom1.ILLUMINA.bwa.CEU.high_coverage.20100517.bam 1:157,200,000-157,300,00 > NA12891.chrom1.ILLUMINA.bwa.CEU.high_coverage.20100517_chr1-157200K-157300K.bam

$ samtools index NA12891.chrom1.ILLUMINA.bwa.CEU.high_coverage.20100517_chr1-157200K-157300K.bam

$ samtools tview NA12891.chrom1.ILLUMINA.bwa.CEU.high_coverage.20100517_chr1-157200K-157300K.bam human_g1k_v37.fasta

I've googled for this error message but I could not find anything similar to this issue.

I have tried to compile samtools source (v0.1.18) on my ubuntu system but it doesn't help.

Where is the bug reporting system for samtools? (I'd like to make sure there is no existing bug and/or workaround).

Am I using the tool is an incorrect way?

Thanks!

samtools • 3.8k views
ADD COMMENT
1
Entering edit mode
12.5 years ago
Peter 6.0k

Sounds like a bug in samtools, possibly one that has already been fixed (since 0.1.18): http://seqanswers.com/forums/showthread.php?t=14991

Try compiling the latest samtools from the repository, or wait for 0.1.19 to be released.

ADD COMMENT
0
Entering edit mode
12.5 years ago
  • what is your machine, is it a 32 or a 64 bit machine ?
  • the best way to report a bug is the mailing list for samtools: samtools-devel Archives
  • Heng Li, one of the core developers of samtools is an active member of Biostar.
ADD COMMENT
0
Entering edit mode
  • this is a 64 bit machine
  • yes of course, no problem, but prior to report a bug I would like to know to check whether it is actually a bug or if I am using the tool in an incorrect way
ADD REPLY
0
Entering edit mode
  • this is a 64 bit machine

  • yes of course, no problem, but prior to report a bug I would like to know to check whether it is actually a bug or if I am using the tool in an incorrect way – Pascal 0 secs ago

ADD REPLY

Login before adding your answer.

Traffic: 1944 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6