filter_bam | R Documentation |
This function takes a BAM file and filter it to genomic coordinate or otherwise BED file with multiple genomic coordinates. The output is a BAM file with reads for inputed genomic region/s
filter_bam(
bin_samtools = build_default_tool_binary_list()$bin_samtools,
bam = "",
position = "",
bed = "",
verbose = FALSE,
batch_config = build_default_preprocess_config(),
output_dir = ".",
threads = 1
)
bin_samtools |
Path to readCounter executable. Default path tools/samtools/samtools. |
bam |
Path to the BAM file . |
position |
String of genomic position to filter. Ex chr6:1000-100000 |
bed |
Size of non overlaping windows. Default 500000. |
verbose |
Enables progress messages. Default False. |
output_dir |
Path to output directory. |
threads |
Number of threads to use. Default 1 |
output_name |
Name of the output file. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.