Comments (6)
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 [email protected]
on 13 Sep 2013 at 7:08
from ea-utils.
New version checks bits, and reports+skips zero/negative positions as "error
reads".
Original comment by [email protected]
on 18 Sep 2013 at 2:24
from ea-utils.
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 [email protected]
on 18 Sep 2013 at 3:43
from ea-utils.
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 [email protected]
on 18 Sep 2013 at 5:54
from ea-utils.
check the trunk version for new behavior
Original comment by [email protected]
on 2 Oct 2013 at 4:15
from ea-utils.
Original comment by [email protected]
on 13 Nov 2013 at 10:13
- Changed state: Fixed
from ea-utils.
Related Issues (20)
- --max-ns 0 does not seem to work, still getting reads with Ns HOT 6
- Add "make clean" target to Makefile HOT 3
- fastq-mcf: Allow merging multiple FASTQ input files to one (or two in case of paired-end) cleaned fastq file HOT 4
- sam-stats doesn't support -o and -O option HOT 3
- Incorrect total reads when using FIFO HOT 2
- fastq-mcf: invalid adapter file ==> Floating point exception HOT 1
- The gtf2bed script generate bed with wrong chrStart and chrEnd coordinates for plus strand HOT 4
- Limit on the number of files it can handle HOT 1
- fastq-multx when barcode is in header between # and / symbols? HOT 7
- fastq-multx supporting sequence in header HOT 1
- Compilation on Mac HOT 1
- Giant FASTQ support in stats HOT 3
- Wrong number (/ counter / calculation) in summary statistics of fastq-mcf HOT 2
- fastq-mcf not working correctly on ubuntu 14.04 HOT 9
- error message: "fastq-mcf has stopped working" HOT 4
- gtf2bed wrong output. HOT 1
- compilation error because sparsehash/sparse_hash_map is not found HOT 1
- "fastq-mcf has stopped working"
- Patches for porting ea-utils to other POSIX platforms + warnings clean-up HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ea-utils.