scReadSim.Utility.scATAC_bam2countmat_paral

scReadSim.Utility.scATAC_bam2countmat_paral(cells_barcode_file, bed_file, INPUT_bamfile, outdirectory, count_mat_filename, n_cores=1)[source]

Construct count matrix for scATAC-seq BAM file.

Parameters:
  • cells_barcode_file (str) – Cell barcode file corresponding to the input BAM file.

  • bed_file (str) – Features bed file to generate the count matrix.

  • INPUT_bamfile (str) – Input BAM file for anlaysis.

  • outdirectory (str) – Specify the output directory of the count matrix file.

  • count_mat_filename (str) – Specify the base name of output count matrix.

  • n_cores (int (default: 1)) – Specify the number of cores for parallel computing when generating count matrix.