Scripts utilize bam file using samtools to calculate coverage percentage by gene, exon, and panel
228
This python scripts utilize bam file using samtools to calculate coverage percentage by gene, exon, and panel. In addition, it generates a list of coverage gaps.
virtualenv
git clone [email protected]:cas-wrgl/calculate-coverage.git
cd calculate-coverage
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
docker
docker build -t calculate-coverage:latest .
apptainer
apptainer build apptainer.sif apptainer.def
Input:
gene_transcript_exonOutput (text format):
python main.py \
--bam_file BAM_FILE \
--bed_file BED_FILE \
--sample_id SAMPLE \
[--MQ MQ] \
[--overlapping_section OVERLAPPING_SECTION] \
[--min_DP MINIMUM_DEPTHOFCOVERAGE] \
python -m pytest -v tests
Content type
Image
Digest
sha256:72bef8de9…
Size
489 MB
Last updated
about 2 years ago
docker pull monkiky/calculate-coverage:1.2