Reference Code backup Executable files
Equally divide BAM file (m alignments) into n parts. Each part contains roughly m/n alignments that are randomly sampled from total alignments.
divide_bam.py -n 3 -i SingleEnd_StrandSpecific_50mer_Human_hg19.bam -o output
--version | show program’s version number and exit |
-h, --help | show this help message and exit |
-i INPUT_FILE, --input-file=INPUT_FILE | |
Alignment file in BAM format. BAM file should be sorted and indexed. | |
-n SUBSET_NUM, --subset-num=SUBSET_NUM | |
Number of small BAM files | |
-o OUTPUT_PREFIX, --out-prefix=OUTPUT_PREFIX | |
Prefix of output BAM files. Output “Prefix_num.bam”. | |
-s, --skip-unmap | |
Skip unmapped reads. |