Introduces simulated allele-specific copy number variants into exome and targeted sequence data sets
Soroush Samadian
Suluxan Mohanraj suluxan.mohanraj@uhnresearch.ca
Bamgineer is a tool that can be used to introduce user-defined haplotype-phased allele-specific copy number variations (CNV) into an existing Binary Alignment Mapping (BAM) file with demonstrated applicability to simulate somatic cancer CNVs in phased whole-genome sequencing datsets. This is done by introducing new read pairs sampled from existing reads, thereby retaining biases of the original data such as local coverage, strand bias, and insert size. As input, Bamgineer requires a BAM file and a list of non-overlapping genomic coordinates to introduce allele-specific gains and losses. We implemented parallelization of the Bamgineer algorithm for both standalone and high performance computing cluster environments, significantly improving the scalability of the algorithm. Bamgineer has been extensively tested on phased, whole-genome sequencing samples.
If you have any questions with the package, please feel free to email Suluxan at suluxan.mohanraj@uhnresearch.ca.
https://drive.google.com/file/d/1km9gupGi7W6aUE9XqBsiamGnwTpDrGpZ/view?usp=sharing
Tested with Docker version 17.05.0-ce, build 89658be
docker pull suluxan/bamgineer-v2
git clone https://github.com/pughlab/bamgineer.git
cd bamgineer/docker-example
# download google drive file (link above) and move into this directory
tar xjf splitbams.tar.bz2
# start of bamgineer command
docker run --rm \
-v $(pwd):/src \
-it suluxan/bamgineer-v2 \
-config /src/inputs/config.cfg \
-splitbamdir src/splitbams \
-cnv_bed /src/inputs/cnv.bed \
-vcf src/inputs/normal_het.vcf \
-exons src/inputs/exons.bed \
-outbam tumour.bam \
-results src/outputs \
-cancertype LUAC1
usage: python bamgineer/src/simulate.py
arguments:
-config CONFIG_FILE, configuration file including paths to tools/executables
-splitdir SPLIT_BAMS_DIR, input bam split by chromosomes
-cnv_bed CNV_BED_FILE, bed file containing non-overlapping CNVs following template
-vcf FILTERED_VCF_FILE, phased vcf file with indels removed
-exons COORDINATES_BED bed file of whole genome coordinates or exons
-outbam OUTPUT_BAM, bam file name for output
-results RESULTS_DIR, output directory for final simulated bam results
-cancertype CANCER_TYPE, cancer type/acronym (OPTIONAL)
General NGS tools
Samtools (version 1.2): samtools \ Bedtools:bedtools\ VCFtools:vcftools\ BamUtil:bamutil
Python packages
pysam (version 0.8.4): pysam \ Note: the latest version of pysam (0.9.0) is not backward compatible with Samtools1.2 \ pyVCF pyvcf \ pyBedTools pybedtools