Description Usage Arguments Value
This function takes a BAM and a BED file with target regions and estimate per base coverage for them using samtools depth
1 2 3 4 5 6 7 8 | get_coverage_bed(
bin_path = "tools/samtools/samtools",
bam = "",
bed = "",
mapq = 0,
threads = 3,
output_dir = ""
)
|
bin_path |
Path to samtools. Default tools/samtools/samtools |
bam |
Path to BAM file |
bed |
Path to BED file |
mapq |
Minimum mapping quality |
threads |
Number of threads to use. Default 3 |
output_dir |
Directory to output results |
A double with the mean genome coverage
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.