scReadSim.Utility.ExtractBAMCoverage

scReadSim.Utility.ExtractBAMCoverage(INPUT_bamfile, samtools_directory, outdirectory)[source]

Examine the covered chromosome names for the input bam file.

Parameters:
  • INPUT_bamfile (str) – Directory of input BAM file.

  • samtools_directory (str) – Directory of software samtools.

  • outdirectory (str) – Output directory.

Returns:

chromosomes_coverd – List of chromosome names that the input bam files covers.

Return type:

list