Get chromosomes from a bam file
Usage
bam_file_chromosomes(bam_file, samtools_bin = "samtools")
Arguments
- bam_file
name of the bam file
- samtools_bin
path to samtools executable
Value
a vector of strings with the chromosome names
Examples
if (FALSE) {
bam_file_chromosomes("pbmc_data/possorted_bam.bam")
}