forked from ucscCancer/fpfilter-tool
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathfpfilter.cwl
More file actions
97 lines (95 loc) · 2.58 KB
/
Copy pathfpfilter.cwl
File metadata and controls
97 lines (95 loc) · 2.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
class: CommandLineTool
label: fpfilter
cwlVersion: v1.0
baseCommand: ["perl", "/opt/fpfilter.pl"]
requirements:
- class: DockerRequirement
dockerPull: opengenomics/fpfilter:latest
inputs:
vcf-file:
type: File
label: the input VCF file. Must have a GT field.
inputBinding:
prefix: --vcf-file
bam-file:
type: File
label: the BAM file of the sample you are filtering on. Typically the tumor.
inputBinding:
prefix: --bam-file
secondaryFiles:
- .bai
sample:
type: string
label: The sample name of the sample you want to filter on in the VCF file.
default: "TUMOR"
inputBinding:
prefix: --sample
reference:
type: File
label: a fasta containing the reference sequence the BAM file was aligned to.
inputBinding:
prefix: --reference
min-read-pos:
type: float
label: minimum average relative distance from start/end of read
default: 0.10
inputBinding:
prefix: --min-read-pos
min-var-freq:
type: float
default: 0.05
label: minimum variant allele frequency
inputBinding:
prefix: --min-var-freq
min-var-count:
type: int
label: minimum number of variant-supporting reads
default: 3
inputBinding:
prefix: --min-var-count
min-strandedness:
type: float
default: 0.01
label: minimum representation of variant allele on each strand
inputBinding:
prefix: --min-strandedness
max-mm-qualsum-diff:
type: int
default: 50
label: maximum difference of mismatch quality sum between variant and reference reads (paralog filter)
inputBinding:
prefix: --max-mm-qualsum-diff
max-var-mm-qualsum:
type: int
label: maximum mismatch quality sum of reference-supporting reads
default: 100
inputBinding:
prefix: --max-var-mm-qualsum
max-mapqual-diff:
type: int
label: maximum difference of mapping quality between variant and reference reads
default: 30
inputBinding:
prefix: --max-mapqual-diff
max-readlen-diff:
type: int
label: maximum difference of average supporting read length between variant and reference reads (paralog filter)
default: 25
inputBinding:
prefix: --max-readlen-diff
min-var-dist-3:
type: float
label: minimum average distance to effective 3prime end of read (real end or Q2) for variant-supporting reads
default: 0.20
inputBinding:
prefix: --min-var-dist-3
output:
type: string
default: filtered.vcf
inputBinding:
prefix: --output
outputs:
filtered_vcf:
type: File
outputBinding:
glob: $(inputs.output)