bedtools genomecov .genome file usage
2
4
Entering edit mode
9.1 years ago
kaston ▴ 40

I'm using the bedtools genomecov command to find coverage stats for a human genome alignment:

bedtools genomecov -ibam foo.bam

The bedtools documentation says that you need to specify a .genome file so the tool knows how big the chromosomes are using the "-g filename.genome" option. I haven't done this, but the command still works.

How does it know what the chromosome sizes are? Is it pointing to a .genome file somewhere in the system that I'm not aware of or is this simply not necessary contrary to the documentation?

Thanks

bedtools genomecov • 7.5k views
ADD COMMENT
4
Entering edit mode
9.1 years ago

With a BAM file, this is unnecssary. Sorry for the confusing docs.

ADD COMMENT
0
Entering edit mode
9.1 years ago
kaston ▴ 40

thanks for the prompt reply!

ADD COMMENT
0
Entering edit mode

Please add your reply to a comment to the answer.

ADD REPLY

Login before adding your answer.

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