This is a test version of Biostars. For the public version, visit https://www.biostars.org.
bedtools genomecov per-base report in igv

Hi All,

Is there a way to transform the per-base report of an alignment file into igv-readable format? Original command:

bedtools genomecov -d -ibam sample_file > out_file

Thank you,

bedtools igv per-base report

1 answer

Use option -bg to generate a bedGraph and then transform to bigwig using bedGraphToBigWig which can be read into IGV. Alternatively use bamCoverage from deeptools which essentially does the same but in one command.

Log in to answer this question.