haplotypecaller
Identify germline variants in paired-end read DNA sequencing BAM files using GATK4-HaplotypeCaller
usage
nexus run --nf-workflow variant_calling_haplotypecaller.nf \
-c nextflow.config \
-w work/ \
--samples_tsv_file samples.tsv \
--output_dir results/ \
--reference_genome_fasta_file /path/to/file.fasta \
--params_gatk4haplotypecaller "" \
--chromosomes "chr1,chr2,chr3,chr4,chr5,chr6,chr7,chr8,chr9,chr10,chr11,chr12,chr13,chr14,chr15,chr16,chr17,chr18,chr19,chr20,chr21,chr22,chrX,chrY,chrM"
Note
Nextflow config files are available here. Use the config file that matches your installed nexus version (e.g. nexus_v0.2.0_nextflow_slurm.config).
parameters
| parameter | description |
|---|---|
--samples_tsv_file |
TSV file with the following columns: ‘sample_id’, ‘bam_file’, ‘bam_bai_file’. |
--output_dir |
Directory to which output files will be symlinked. |
--reference_genome_fasta_file |
Reference genome FASTA file. |
--params_gatk4haplotypecaller |
GATK4 HaplotypeCaller parameters (default: ‘““’). Note that the parameters need to be wrapped in quotes. |
--chromosomes |
Chromosomes to parallelize (default: ‘chr1,chr2,chr3,chr4,chr5,chr6,chr7,chr8,chr9,chr10,chr11,chr12,chr13,chr14,chr15,chr16,chr17,chr18,chr19,chr20,chr21,chr22,chrX,chrY,chrM’). |