Workflow Steps and Code Snippets

1107 tagged steps and code snippets that match keyword gatk

WES analysis pipeline

27
28
29
30
31
32
33
34
35
36
37
shell:
    """
    gatk Mutect2 -R {input.ref} -I {input.tumor} \
        -tumor {params.tumor} -O {output.vcf} \
        --germline-resource {input.germ_res} \
        --f1r2-tar-gz {output.f1r2tar} \
        -L {input.interval} \
        -ip 100 \
        {params.normal_input} {params.normalname} \
        {params.pon} {params.extra}
    """
47
48
49
50
shell:
    """
    gatk LearnReadOrientationModel {params.i} -O {output}
    """
59
60
61
62
63
shell:
    """
    gatk GetPileupSummaries -I {input.bam} -V {input.germ_res} \
        -L {input.germ_res} -O {output}
    """
73
74
75
76
77
78
shell:
    """
    gatk CalculateContamination -I {input.tumor}  \
        {params.matched} \
        -O {output}
    """
88
89
90
91
shell:
    """
    gatk MergeVcfs {params.i} -O {output.vcf}
    """
101
102
103
104
shell:
    """
    gatk MergeMutectStats {params.i} -O {output.stats} 
    """
120
121
122
123
124
125
126
127
128
shell:
    """
    gatk FilterMutectCalls -V {input.vcf} -R {input.ref} \
        --contamination-table {input.contamination} \
        --stats {input.stats} \
        -ob-priors {input.f1r2model} \
        -O {output.vcf} \
        {params.extra}
    """
139
140
141
142
143
144
145
146
shell:
    """
    gatk SelectVariants -V {input.vcf} \
        -R {input.ref} \
        -O {output.vcf} \
        --exclude-filtered \
        -OVI
    """
15
16
17
18
19
20
21
22
23
24
shell:
    """
    gatk Mutect2 \
        -I {input.bam} \
        -R {input.ref} \
        -O {output.vcf} \
        -L {input.intervals} \
        -ip 100 \
        --max-mnp-distance 0
    """
35
36
37
38
39
40
41
42
43
shell:
    """
    gatk GenomicsDBImport \
        -R {input.ref} \
        --genomicsdb-workspace-path {output} \
        -V {params.vcfs} \
        -L {input.intervals} \
        -ip 100
    """
tool / bioconda

gatk

The full Genome Analysis Toolkit (GATK) framework, v3