Question: what is difference between -i and -ibam in genomCoverage?
0
gravatar for star
5 months ago by
star190
Netherlands
star190 wrote:

I like to convert the BAM file to BIGWIG format I used bedtools genomeCoverage to change BAM to BEDGRAPH but I do not know difference between below comands: bedtools genomecov -bg -ibam and bedtools genomecov -bg -i -g hg19.genome because when I use the second one I faced with this ERROR:

Unexpected file format. Please use tab-delimited BED, GFF, or VCF. Perhaps you have non-integer starts or ends at line 808727866?

but the first one works well.

Also, I used deeptools bamCoverage to change BAM to BEDGRAPH but there is no data for its output when I opened it in the UCSC.

ADD COMMENTlink modified 5 months ago by ATpoint21k • written 5 months ago by star190
2
gravatar for ATpoint
5 months ago by
ATpoint21k
Germany
ATpoint21k wrote:
-i <bed/gff/vcf>
-ibam       The input file is in BAM format.
            Note: BAM _must_ be sorted by position

Pretty self-explainatory, no? -i accepts bed/gff/vcf and ibam accepts BAM.

ADD COMMENTlink written 5 months ago by ATpoint21k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1431 users visited in the last hour