cap_reads | R Documentation |
create a subsampled version of bam_file that is approximately the number specified by max_reads
cap_reads(bam_file, max_reads, ncores = 1, out_dir = dirname(bam_file))
bam_file |
an indexed bam file |
max_reads |
target number of reads |
ncores |
number of cores to use for samtools view operation |
path to subsampled file
cap_reads
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.