Skip to content
This repository was archived by the owner on Oct 2, 2020. It is now read-only.

Commit d7b2f02

Browse files
committed
Merge pull request #34 from FarahZKhan/patch-4
Create haplotypeCaller.cwl
2 parents 0bd97b6 + 5185ce7 commit d7b2f02

File tree

1 file changed

+91
-0
lines changed

1 file changed

+91
-0
lines changed

tools/GATK-haplotypeCaller.cwl

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
#!/usr/bin/env cwl-runner
2+
#
3+
# Authors: [email protected] and [email protected] UNIVERSITY OF MELBOURNE
4+
# Developed for CWL consortium http://commonwl.org/
5+
class: CommandLineTool
6+
7+
description: |
8+
Call germline SNPs and indels via local re-assembly of haplotypes
9+
Options:
10+
-R reference.fasta Reference sequence in fasta format
11+
-T HaplotypeCaller Tool name to be executed
12+
-I sample.bam bam file from printReads
13+
[--dbsnp dbSNP.vcf] latest_dbsnp.vcf set of known indels
14+
[-stand_call_conf 30] The minimum phred-scaled confidence threshold at which variants should be called - optional
15+
[-stand_emit_conf 10] The minimum phred-scaled confidence threshold at which variants should be emitted (and filtered with LowQual if less than the calling threshold) - optonal
16+
[-L targets.interval_list] target bed file - if any
17+
-o output.raw.snps.indels.vcf Output file from haplotypr caller
18+
19+
requirements:
20+
- import: node-engine.cwl
21+
- import: envvar-global.cwl
22+
- import: gatk-docker.cwl
23+
arguments:
24+
- valueFrom: "/home/biodocker/bin/gatk/target/GenomeAnalysisTK.jar"
25+
position: 2
26+
prefix: "-jar"
27+
28+
inputs:
29+
30+
- id: "#java_arg"
31+
type: string
32+
default: "-Xmx4g"
33+
inputBinding:
34+
position: 1
35+
36+
- id: "#HaplotypeCaller"
37+
type: string
38+
default: "HaplotypeCaller"
39+
inputBinding: { position: 3, prefix: "-T" }
40+
description: tool used for this step from GATK jar
41+
42+
- id: "#reference"
43+
type: File
44+
inputBinding:
45+
position: 4
46+
prefix: "-R"
47+
secondaryFiles:
48+
- ".amb"
49+
- ".ann"
50+
- ".bwt"
51+
- ".pac"
52+
- ".rbwt"
53+
- ".rpac"
54+
- ".rsa"
55+
- ".sa"
56+
- ".fai"
57+
- "^.dict"
58+
59+
- id: "#inputBam_HaplotypeCaller"
60+
type: File
61+
description: bam file produced after printReads
62+
inputBinding:
63+
position: 5
64+
prefix: "-I"
65+
secondaryFiles:
66+
- "^.bai"
67+
68+
- id: "#dbsnp"
69+
type: File
70+
description: latest_dbsnp.vcf set of known indels
71+
inputBinding:
72+
position: 6
73+
prefix: "--dbsnp"
74+
75+
- id: "#outputfile_HaplotypeCaller"
76+
type: string
77+
description: name of the output file from HaplotypeCaller
78+
inputBinding:
79+
position: 7
80+
prefix: "-o"
81+
82+
outputs:
83+
- id: "#output_HaplotypeCaller"
84+
type: File
85+
outputBinding:
86+
glob:
87+
engine: cwl:JsonPointer
88+
script: /job/outputfile_HaplotypeCaller
89+
90+
baseCommand: ["java"]
91+

0 commit comments

Comments
 (0)