HUB
Sign inSign up

itsrobintomar/exomeflow

By itsrobintomar

•Updated 29 days ago

Automated WES pipeline for germline variant calling and genomic interpretation.

Image
Machine learning & AI
Data science
0

341

itsrobintomar/exomeflow repository overview

ExomeFlow

⁠ExomeFlow

Paired-end FASTQ → annotated, ACMG-classified germline variants in one command.

ExomeFlow runs the GATK best-practices germline short-variant workflow for whole-exome (and whole-genome) sequencing, followed by ANNOVAR annotation, HPO gene-phenotype terms and ACMG/AMP classification via InterVar. Optional modes add cohort joint genotyping, tumour-only somatic calling (Mutect2) and read-depth CNV calling.

This image contains everything except ANNOVAR and the reference data, which you mount.


⁠Tags

TagExomeFlowNotes
2.2.17, latest2.2.17Recommended
2.2.162.2.16Do not use with --intervals: every sample fails at BQSR ("input files are not indexed"). Fixed in 2.2.17.

Pin a version tag (:2.2.17) for reproducible analyses rather than :latest.

⁠What's inside

ComponentVersion
Basebroadinstitute/gatk:4.6.2.0 (Ubuntu, Java 17, Miniconda3)
GATK4.6.2.0
BWA≥ 0.7.17
SAMtools≥ 1.13
fastp≥ 0.20.1
Perlfor ANNOVAR and InterVar
ExomeFlowmatches the tag

Not included: ANNOVAR (its license requires individual registration, so it cannot be redistributed; download it from annovar.openbioinformatics.org⁠) and the reference genome, known-sites VCFs and annotation databases.

⁠Workflow

fastp QC → BWA-MEM → SortSam → MarkDuplicates → BQSR → HaplotypeCaller
        → SNP/INDEL hard filters → PASS → ANNOVAR → HPO terms + ACMG (InterVar)
then once per run: MultiQC report across all samples

Each sample gets its own annotated output. Every step is checkpointed, so an interrupted run resumes where it stopped when you repeat the same command.

⁠Quick start

docker pull itsrobintomar/exomeflow:2.2.17

docker run --rm -it \
  -v /path/to/fastq:/data/fastq \
  -v /path/to/refs:/refs \
  -v /path/to/vcf:/vcf \
  -v /path/to/annovar:/annovar \
  -v /path/to/results:/data/results \
  itsrobintomar/exomeflow:2.2.17 run \
    --input-dir    /data/fastq \
    --output       /data/results \
    --reference    /refs/Homo_sapiens_assembly38.fasta \
    --dbsnp        /vcf/Homo_sapiens_assembly38.dbsnp138.vcf.gz \
    --mills        /vcf/Mills_and_1000G_gold_standard.indels.hg38.vcf.gz \
    --known-indels /vcf/Homo_sapiens_assembly38.known_indels.vcf.gz \
    --annovar-bin  /annovar \
    --annovar-db   /annovar/humandb \
    --intervals    /refs/capture_targets.bed \
    --threads      24 --yes

For exomes, pass your capture kit's BED file with --intervals; omit it for whole-genome data. Add --yes for unattended runs so no setup prompt waits for input.

⁠Mounts
MountContents
/data/fastqInput FASTQs: <sample>_1.fastq.gz + <sample>_2.fastq.gz (or _R1/_R2)
/refsReference FASTA with BWA index, .fai and .dict (e.g. Homo_sapiens_assembly38.fasta)
/vcfdbSNP, Mills and known-indels VCFs, each with its index
/annovarANNOVAR scripts (table_annovar.pl, …); you must mount this
/annovar/humandbANNOVAR databases
/data/resultsOutput

The hg38 reference and known-sites files come from the GATK resource bundle (gs://gcp-public-data--broad-references/hg38/v0/), about 13 GB.

⁠Other modes

# Cohort joint genotyping: one shared VCF instead of per-sample files
... run --input-dir /data/fastq --output /data/results --joint-genotyping --intervals /refs/targets.bed

# Tumour-only somatic calling with Mutect2 (matched tumour-normal not yet supported)
... run --input-dir /data/fastq --output /data/results --mode somatic \
    --germline-resource /vcf/af-only-gnomad.hg38.vcf.gz --panel-of-normals /vcf/1000g_pon.hg38.vcf.gz

# Read-depth CNV calling alongside germline calling
... run --input-dir /data/fastq --output /data/results --cnv --intervals /refs/targets.bed

# GRCh37 instead of hg38
... run --input-dir /data/fastq --output /data/results --genome-build GRCh37

⁠Main outputs

FileContents
Mapsam/<sample>_recalibrated.bamAnalysis-ready BAM (IGV)
VCF/<sample>.vcfRaw HaplotypeCaller calls
VCF/<sample>_PASS.vcfVariants passing hard filters
VCF/<sample>.annovar.hg38_multianno.{vcf,txt}ANNOVAR-annotated variants
VCF/<sample>.annovar.hpo.txtAnnotated table with HPO terms and ACMG classification
multiqc/exomeflow_report.htmlQC report across all samples
logs/Pipeline and per-sample logs

⁠Singularity / Apptainer (HPC)

singularity pull exomeflow-2.2.17.sif docker://itsrobintomar/exomeflow:2.2.17

singularity exec \
  --bind /path/to/fastq:/data/fastq --bind /path/to/refs:/refs --bind /path/to/vcf:/vcf \
  --bind /path/to/annovar:/annovar --bind /path/to/results:/data/results \
  exomeflow-2.2.17.sif exomeflow run --input-dir /data/fastq --output /data/results ...

⁠Resources

Plan for at least 16 cores and 64 GB RAM for exomes. Threads and Java heap are sized automatically from the container's CPU and memory limits unless you set --threads and --java-opts. Use --max-workers N to process N samples in parallel.

⁠Citation and contact

Robin Kumar, Dr Prabudh Goel Lab, All India Institute of Medical Sciences (AIIMS), New Delhi. Please cite the DOI listed in the GitHub repository. Report bugs at github.com/imrobintomar/exomeflow/issues⁠.

Tag summary

Content type

Image

Digest

sha256:8d9330bc4…

Size

3.3 GB

Last updated

29 days ago

docker pull itsrobintomar/exomeflow