View source: R/FindBestRefseqAssembly.R
bam_index | R Documentation |
Index a bam file
bam_index(path_to_sorted_bam, threads = parallel::detectCores())
path_to_sorted_bam |
path to a coordinate sorted bam file (string) |
threads |
number of cores to use for multithreading (int) |
Produce a bai index for a sorted bam. Requires samtools to be installed.
path to sorted bam (string)
## Not run: bam_index("path/to/sorted/bam") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.