@@ -5,10 +5,13 @@ task pvacsplice {
5
5
Int n_threads = 8
6
6
File input_vcf
7
7
File input_vcf_tbi
8
+ File input_regtools_tsv
9
+ File input_reference_fasta
10
+ File input_reference_gtf
8
11
String sample_name
9
12
Array [String ] alleles
10
13
Array [String ] prediction_algorithms
11
- File ? peptide_fasta
14
+ File ? peptide_fasta
12
15
13
16
Array [Int ]? epitope_lengths_class_i
14
17
Array [Int ]? epitope_lengths_class_ii
@@ -22,11 +25,7 @@ task pvacsplice {
22
25
Float ? net_chop_threshold
23
26
String ? additional_report_columns # enum [sample_name]
24
27
Int ? fasta_size
25
- Int ? downstream_sequence_length
26
28
Boolean exclude_nas = false
27
- File ? phased_proximal_variants_vcf
28
- File ? phased_proximal_variants_vcf_tbi
29
- Float ? minimum_fold_change
30
29
Int ? normal_cov
31
30
Int ? tdna_cov
32
31
Int ? trna_cov
@@ -37,26 +36,23 @@ task pvacsplice {
37
36
Int ? maximum_transcript_support_level # enum [1, 2, 3, 4, 5]
38
37
Int ? aggregate_inclusion_binding_threshold
39
38
Array [String ]? problematic_amino_acids
40
- Float ? anchor_contribution_threshold
41
39
42
40
Boolean allele_specific_binding_thresholds = false
43
41
Boolean keep_tmp_files = false
44
42
Boolean netmhc_stab = false
45
43
Boolean run_reference_proteome_similarity = false
46
- Boolean allele_specific_anchors = false
47
44
48
45
Float ? tumor_purity
49
46
}
50
47
51
- Float input_size = size ([input_vcf , input_vcf_tbi ], "GB" )
52
- Float phased_variants_size = size ([phased_proximal_variants_vcf , phased_proximal_variants_vcf_tbi ], "GB" )
53
- Int space_needed_gb = 10 + round (input_size + phased_variants_size )
48
+ Float input_size = size ([input_vcf , input_vcf_tbi , input_regtools_tsv , input_reference_fasta ,input_reference_gtf ], "GB" ) #input files: annotated vcf, regtools tsv, reference fasta, reference gtf
49
+ Int space_needed_gb = 10 + round (input_size )
54
50
runtime {
55
51
preemptible : 1
56
52
maxRetries : 2
57
53
memory : "32GB"
58
54
cpu : n_threads
59
- docker : "griffithlab/pvactools:4.4 .1"
55
+ docker : "griffithlab/pvactools:5.0 .1"
60
56
disks : "local-disk ~{space_needed_gb} HDD"
61
57
}
62
58
@@ -66,13 +62,12 @@ task pvacsplice {
66
62
Array [String ] problematic_aa = select_first ([problematic_amino_acids , []])
67
63
command <<<
68
64
# touch each tbi to ensure they have a timestamp after the vcf
69
- touch ~ {phased_proximal_variants_vcf_tbi}
70
65
touch ~ {input_vcf_tbi}
71
66
72
67
ln -s " $TMPDIR " /tmp/pvacsplice && export TMPDIR=/tmp/pvacsplice && \
73
68
/usr/local/bin/pvacsplice run --iedb-install-directory /opt/iedb \
74
69
--pass-only \
75
- ~ {if defined(tumor_purity) then " --tumor-purity " + select_first([tumor_purity]) else " " } \
70
+ # ~{if defined(tumor_purity) then "--tumor-purity " + select_first([tumor_purity]) else ""} \
76
71
~ {if length(epitope_i ) > 0 then " -e1 " else " " } ~ {sep=" ," epitope_i} \
77
72
~ {if length(epitope_ii) > 0 then " -e2 " else " " } ~ {sep=" ," epitope_ii} \
78
73
~ {if defined(binding_threshold) then " -b ~{binding_threshold}" else " " } \
@@ -88,23 +83,20 @@ task pvacsplice {
88
83
~ {if defined(peptide_fasta) then " --peptide-fasta ~{peptide_fasta}" else " " } \
89
84
~ {if defined(top_score_metric) then " -m ~{top_score_metric}" else " " } \
90
85
~ {if defined(net_chop_threshold) then " --net-chop-threshold ~{net_chop_threshold}" else " " } \
91
- ~ {if defined(additional_report_columns) then " -m ~{additional_report_columns}" else " " } \
86
+ ~ {if defined(additional_report_columns) then " -a ~{additional_report_columns}" else " " } \
92
87
~ {if defined(fasta_size) then " -s ~{fasta_size}" else " " } \
93
- ~ {if defined(downstream_sequence_length) then " -d ~{downstream_sequence_length}" else " " } \
94
88
~ {if exclude_nas then " --exclude-NAs" else " " } \
95
- ~ {if defined(phased_proximal_variants_vcf) then " -p ~{phased_proximal_variants_vcf}" else " " } \
96
- ~ {if defined(minimum_fold_change) then " -c ~{minimum_fold_change}" else " " } \
97
89
~ {if defined(normal_cov) then " --normal-cov ~{normal_cov}" else " " } \
98
90
~ {if defined(tdna_cov) then " --tdna-cov ~{tdna_cov}" else " " } \
99
91
~ {if defined(trna_cov) then " --trna-cov ~{trna_cov}" else " " } \
100
92
~ {if defined(normal_vaf) then " --normal-vaf ~{normal_vaf}" else " " } \
101
93
~ {if defined(tdna_vaf) then " --tdna-vaf ~{tdna_vaf}" else " " } \
102
94
~ {if defined(trna_vaf) then " --trna-vaf ~{trna_vaf}" else " " } \
103
95
~ {if defined(expn_val) then " --expn-val ~{expn_val}" else " " } \
104
- ~ {if defined(maximum_transcript_support_level) then " --maximum-transcript-support-level ~{maximum_transcript_support_level}" else " " } \
105
- ~ {if length(problematic_aa) > 0 then " --problematic-amino-acids" else " " } ~ {sep=" ," problematic_aa} \
106
- ~ {if allele_specific_anchors then " --allele-specific-anchors" else " " } \
107
- ~ {if defined(anchor_contribution_threshold) then " --anchor-contribution-threshold ~{anchor_contribution_threshold}" else " " } \
96
+ # ~{if defined(maximum_transcript_support_level) then "--maximum-transcript-support-level ~{maximum_transcript_support_level}" else ""} \
97
+ # ~{if length(problematic_aa) > 0 then "--problematic-amino-acids" else ""} ~{sep="," problematic_aa} \
98
+ # ~{if allele_specific_anchors then "--allele-specific-anchors" else ""} \
99
+ # ~{if defined(anchor_contribution_threshold) then "--anchor-contribution-threshold ~{anchor_contribution_threshold}" else ""} \
108
100
--n-threads ~ {n_threads} \
109
101
~ {input_vcf} ~ {sample_name} ~ {sep=" ," alleles} ~ {sep=" " prediction_algorithms} \
110
102
pvacsplice_predictions
@@ -132,7 +124,7 @@ task pvacsplice {
132
124
133
125
}
134
126
}
135
-
127
+ ############################### may delete these######
136
128
workflow wf {
137
129
input {
138
130
Int ? n_threads
0 commit comments