Hi all,
I'm now trying to used genomeCoverageBed in Bedtools v2.25.0 to calculated the genome coverage from bam files with paired-end reads. (http://bedtools.readthedocs.org/en/latest/content/tools/genomecov.html) However, it returns an error as:
ERROR: Unrecognized parameter: -pc
Does anyone know in which version of bedtools the "-pc" parameter is available? Why does it disappear in the latest version? If it is no longer available in bedtools, can anyone suggest a method to calculate the genome coverage for paired-end sequencing reads? Thanks very much for any comments and suggestions.
Best,
Vanilla
Download the latest commit from github, it should be available.
Thanks James! Yeah it does work, even though the parameter is still not listed in the help message.
However, I don't think the output I got is correct. For example, the coverage for
chr1:0-984444
I got without-pc
parameter is (which is correct for raw reads visualized in IGV):Thus with
-pc
set, the coverage changed to be:The command line I used is:
Is there anything wrong with my command? Thanks very mcuh!