Differentiate "no coverage regions" in bedtools
1
1
Entering edit mode
8.0 years ago
BioGeek ▴ 170

Is there any way to differentiate between no coverage regions (RED zero and BLACK zero) in this figure enter image description here

I want to keep all, but with some notation in outfile.

ngs bedtools coverage split • 1.8k views
ADD COMMENT
2
Entering edit mode

Apparently using 'genomecov -d' and 'genomecov -d -split' would do it, as indicated by this graph.

ADD REPLY
0
Entering edit mode

Ok, then the only option is to run it independently with -bga and then -bga -split and cross compare the files to get the difference. I was in search of a flag. Anyway thanks for your comments.

ADD REPLY
0
Entering edit mode
8.0 years ago
Charles Plessy ★ 2.9k

It is not possible to distinguish between gaps of coverage and split alignments using the output format of bedtools genomecov or the standard BED format.

In an ongoing project, we are using an ad-hoc format where coordinate blocks are separated by commas to indicate a confidently-predicted intron, by a semicolon to indicate lower confidence, and by a pipe character to indicate a gap of coverage. Strand is indicated by the order of start and end position (start > end for plus, and start < end for minus).

If a multiline output format is acceptable, it may be possible to represent the same information with a GFF format.

Is that the kind of output that you are looking for ?

ADD COMMENT
0
Entering edit mode

Thanks for your comment. Yes, that would be great to have all such information in one go.

ADD REPLY

Login before adding your answer.

Traffic: 1621 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