Closed GoogleCodeExporter closed 9 years ago
Right, sam-stats currently uses the existence of a chromosome and a position to
mean "mapped".
The reason for that is that bwa has some odd bit-field behavior where some
reads are "mapped" but have no position, and others are "unmapped" but have
both (and are correct).
(In your case, the correct alignment is at position 0 with two bases of
soft-clipping)
I will change it to require both. It's probably better.
Original comment by earone...@gmail.com
on 13 Sep 2013 at 7:08
New version checks bits, and reports+skips zero/negative positions as "error
reads".
Original comment by earone...@gmail.com
on 18 Sep 2013 at 2:24
Awesome! Thank you for addressing this issue. Will test drive it and let you
know if I stumble across something else.
I have another suggestion:
How about spitting out stats separately for read1 and read2 for paired-end
bams? That way the stats don't get averaged out and assuming we have an issue
with just read2, we could still salvage the read1 data.
Just a thought.
-Narayanan
Original comment by narayana...@gmail.com
on 18 Sep 2013 at 3:43
I usually run fastq-stats on read1 and read2 separately, and run the graphing
tool for them as well. After alignment, it's often too late, since some
aligners will count very improper pairs as "unaligned" anyway... sometimes it's
hard to tell which side is right.
if you had an extract from a bam file where 1 read was good and the other not,
i'd like to see if that's caught by fastq-stats or whether it's something
sam-stats is better at reporting
Original comment by earone...@gmail.com
on 18 Sep 2013 at 5:54
check the trunk version for new behavior
Original comment by earone...@gmail.com
on 2 Oct 2013 at 4:15
Original comment by earone...@gmail.com
on 13 Nov 2013 at 10:13
Original issue reported on code.google.com by
narayana...@gmail.com
on 9 Sep 2013 at 5:55