Snakemake implementation of data pre-processing for variant discovery from GATK Best Practices Workflows

public public 1yr ago 0 bookmarks

Snakemake implementation of data pre-processing for variant discovery from GATK Best Practices Workflows

Code Snippets

19
20
shell:
    "bwa mem -K 10000000 -P -o {output} -R '{params.rg}' {input.R1} {input.R2} {input.reference}"
27
28
shell:
    "samtools sort -n -o {output} {input}"
36
37
shell:
    "gatk MarkDuplicates -I {input} -O {output} --METRICS_FILE {sample}/MarkDuplicates.metrics.txt --VALIDATION_STRINGENCY SILENT --OPTICAL_DUPLICATE_PIXEL_DISTANCE 2500 --ASSUME_SORT_ORDER 'queryname'"
45
46
shell:
    "gatk SortSam -I {input} -O {output} --SORT_ORDER 'coordinate' --CREATE_INDEX false --CREATE_MD5_FILE false"
55
56
shell:
    "gatk SetNmMdAndUqTags -I {input.bam} -O {output} --REFERENCE_SEQUENCE {input.reference} --CREATE_INDEX true"
67
68
shell:
    "gatk BaseRecalibrator --use-original-qualities -I {input.bam} -O {output} -R {input.reference} --known-sites {input.indel} --known-sites {input.snp}"
78
79
shell:
    "gatk ApplyBQSR -bqsr {input.table} -I {input.bam} -O {output} -R {input.reference} --static-quantized-quals 10 --static-quantized-quals 20 --static-quantized-quals 30 --use-original-qualities --emit-original-quals true"
ShowHide 4 more snippets with no or duplicated tags.

Login to post a comment if you would like to share your experience with this workflow.

Do you know this workflow well? If so, you can request seller status , and start supporting this workflow.

Free

Created: 1yr ago
Updated: 1yr ago
Maitainers: public
URL: https://github.com/yaotianran/gatk4-data-processing
Name: gatk4-data-processing
Version: 1
Badge:
workflow icon

Insert copied code into your website to add a link to this workflow.

Downloaded: 0
Copyright: Public Domain
License: GNU General Public License v3.0
  • Future updates

Related Workflows

cellranger-snakemake-gke
snakemake workflow to run cellranger on a given bucket using gke.
A Snakemake workflow for running cellranger on a given bucket using Google Kubernetes Engine. The usage of this workflow ...