Skip to content

Commit 5f0b6ea

Browse files
authored
Merge pull request #183 from msk-access/pv-update
Update run_processed_vardict.cwl
2 parents 5174e6c + 8ab29a3 commit 5f0b6ea

File tree

8 files changed

+122
-20
lines changed

8 files changed

+122
-20
lines changed

qc_collapsed_bam/qc_collapsed_bam__packed.cwl

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,14 +466,23 @@
466466
"prefix": "--default-genotype"
467467
},
468468
"doc": "Default genotype if coverage is too low (options are Het or Hom)."
469+
},
470+
{
471+
"id": "#biometrics_extract.cwl/biometrics_extract_0_2_13/file_type",
472+
"type": [
473+
"null",
474+
"string"
475+
],
476+
"doc": "Specify the type of bam file you are generating the pickle for to be incorporated in pickle file name (Myeloid_1_L001_duplex.pickle)"
469477
}
470478
],
471479
"outputs": [
472480
{
473481
"id": "#biometrics_extract.cwl/biometrics_extract_0_2_13/biometrics_extract_pickle",
474482
"type": "File",
475483
"outputBinding": {
476-
"glob": "${\n if (inputs.database) {\n return inputs.database + '/' + inputs.sample_name + '.pickle';\n } else {\n return inputs.sample_name + '.pickle';\n }\n}"
484+
"glob": "${\n if (inputs.database) {\n return inputs.database + '/' + inputs.sample_name + '.pickle';\n }\n else {\n return inputs.sample_name + '.pickle';\n }\n}",
485+
"outputEval": "${\n if (inputs.file_type) {\n self[0].basename = inputs.sample_name + '_' + inputs.file_type + \".pickle\";\n return self;\n }\n else {\n return self;\n }\n}"
477486
}
478487
}
479488
],
@@ -499,6 +508,16 @@
499508
"class": "http://xmlns.com/foaf/0.1/Person",
500509
"http://xmlns.com/foaf/0.1/mbox": "mailto:murphyc4@mskcc.org",
501510
"http://xmlns.com/foaf/0.1/name": "Charlie Murphy"
511+
},
512+
{
513+
"class": "http://xmlns.com/foaf/0.1/Person",
514+
"http://xmlns.com/foaf/0.1/mbox": "mailto:shahr2@mskcc.org",
515+
"http://xmlns.com/foaf/0.1/name": "Ronak Shah"
516+
},
517+
{
518+
"class": "http://xmlns.com/foaf/0.1/Person",
519+
"http://xmlns.com/foaf/0.1/mbox": "mailto:charlk@mskcc.org",
520+
"http://xmlns.com/foaf/0.1/name": "Carmelina Charlambous"
502521
}
503522
],
504523
"http://xmlns.com/foaf/0.1/name": "Memorial Sloan Kettering Cancer Center"

qc_collapsed_bam/qc_collapsed_bam_v2.0__packed.cwl

Lines changed: 34 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -466,14 +466,23 @@
466466
"prefix": "--default-genotype"
467467
},
468468
"doc": "Default genotype if coverage is too low (options are Het or Hom)."
469+
},
470+
{
471+
"id": "#biometrics_extract.cwl/biometrics_extract_0_2_13/file_type",
472+
"type": [
473+
"null",
474+
"string"
475+
],
476+
"doc": "Specify the type of bam file you are generating the pickle for to be incorporated in pickle file name (Myeloid_1_L001_duplex.pickle)"
469477
}
470478
],
471479
"outputs": [
472480
{
473481
"id": "#biometrics_extract.cwl/biometrics_extract_0_2_13/biometrics_extract_pickle",
474482
"type": "File",
475483
"outputBinding": {
476-
"glob": "${\n if (inputs.database) {\n return inputs.database + '/' + inputs.sample_name + '.pickle';\n } else {\n return inputs.sample_name + '.pickle';\n }\n}"
484+
"glob": "${\n if (inputs.database) {\n return inputs.database + '/' + inputs.sample_name + '.pickle';\n }\n else {\n return inputs.sample_name + '.pickle';\n }\n}",
485+
"outputEval": "${\n if (inputs.file_type) {\n self[0].basename = inputs.sample_name + '_' + inputs.file_type + \".pickle\";\n return self;\n }\n else {\n return self;\n }\n}"
477486
}
478487
}
479488
],
@@ -499,6 +508,16 @@
499508
"class": "http://xmlns.com/foaf/0.1/Person",
500509
"http://xmlns.com/foaf/0.1/mbox": "mailto:murphyc4@mskcc.org",
501510
"http://xmlns.com/foaf/0.1/name": "Charlie Murphy"
511+
},
512+
{
513+
"class": "http://xmlns.com/foaf/0.1/Person",
514+
"http://xmlns.com/foaf/0.1/mbox": "mailto:shahr2@mskcc.org",
515+
"http://xmlns.com/foaf/0.1/name": "Ronak Shah"
516+
},
517+
{
518+
"class": "http://xmlns.com/foaf/0.1/Person",
519+
"http://xmlns.com/foaf/0.1/mbox": "mailto:charlk@mskcc.org",
520+
"http://xmlns.com/foaf/0.1/name": "Carmelina Charlambous"
502521
}
503522
],
504523
"http://xmlns.com/foaf/0.1/name": "Memorial Sloan Kettering Cancer Center"
@@ -2743,6 +2762,15 @@
27432762
],
27442763
"https://www.sevenbridges.com/x": 0,
27452764
"https://www.sevenbridges.com/y": 1923.75
2765+
},
2766+
{
2767+
"id": "#main/collapsed_biometrics_extract_file_type",
2768+
"type": [
2769+
"null",
2770+
"string"
2771+
],
2772+
"https://www.sevenbridges.com/x": 723.521240234375,
2773+
"https://www.sevenbridges.com/y": 1204.8056640625
27462774
}
27472775
],
27482776
"outputs": [
@@ -3339,6 +3367,11 @@
33393367
{
33403368
"id": "#main/biometrics_extract_0_2_13/bed_file",
33413369
"source": "#main/bed_file"
3370+
},
3371+
{
3372+
"id": "#main/biometrics_extract_0_2_13/file_type",
3373+
"default": "collapsed",
3374+
"source": "#main/collapsed_biometrics_extract_file_type"
33423375
}
33433376
],
33443377
"out": [
@@ -3415,12 +3448,6 @@
34153448
"requirements": [
34163449
{
34173450
"class": "SubworkflowFeatureRequirement"
3418-
},
3419-
{
3420-
"class": "InlineJavascriptRequirement"
3421-
},
3422-
{
3423-
"class": "StepInputExpressionRequirement"
34243451
}
34253452
],
34263453
"https://schema.org/author": [

qc_duplex_bam/qc_duplex_bam__packed.cwl

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,14 +466,23 @@
466466
"prefix": "--default-genotype"
467467
},
468468
"doc": "Default genotype if coverage is too low (options are Het or Hom)."
469+
},
470+
{
471+
"id": "#biometrics_extract.cwl/biometrics_extract_0_2_13/file_type",
472+
"type": [
473+
"null",
474+
"string"
475+
],
476+
"doc": "Specify the type of bam file you are generating the pickle for to be incorporated in pickle file name (Myeloid_1_L001_duplex.pickle)"
469477
}
470478
],
471479
"outputs": [
472480
{
473481
"id": "#biometrics_extract.cwl/biometrics_extract_0_2_13/biometrics_extract_pickle",
474482
"type": "File",
475483
"outputBinding": {
476-
"glob": "${\n if (inputs.database) {\n return inputs.database + '/' + inputs.sample_name + '.pickle';\n } else {\n return inputs.sample_name + '.pickle';\n }\n}"
484+
"glob": "${\n if (inputs.database) {\n return inputs.database + '/' + inputs.sample_name + '.pickle';\n }\n else {\n return inputs.sample_name + '.pickle';\n }\n}",
485+
"outputEval": "${\n if (inputs.file_type) {\n self[0].basename = inputs.sample_name + '_' + inputs.file_type + \".pickle\";\n return self;\n }\n else {\n return self;\n }\n}"
477486
}
478487
}
479488
],
@@ -499,6 +508,16 @@
499508
"class": "http://xmlns.com/foaf/0.1/Person",
500509
"http://xmlns.com/foaf/0.1/mbox": "mailto:murphyc4@mskcc.org",
501510
"http://xmlns.com/foaf/0.1/name": "Charlie Murphy"
511+
},
512+
{
513+
"class": "http://xmlns.com/foaf/0.1/Person",
514+
"http://xmlns.com/foaf/0.1/mbox": "mailto:shahr2@mskcc.org",
515+
"http://xmlns.com/foaf/0.1/name": "Ronak Shah"
516+
},
517+
{
518+
"class": "http://xmlns.com/foaf/0.1/Person",
519+
"http://xmlns.com/foaf/0.1/mbox": "mailto:charlk@mskcc.org",
520+
"http://xmlns.com/foaf/0.1/name": "Carmelina Charlambous"
502521
}
503522
],
504523
"http://xmlns.com/foaf/0.1/name": "Memorial Sloan Kettering Cancer Center"

qc_duplex_bam/qc_duplex_bam_v2.0__packed.cwl

Lines changed: 34 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -466,14 +466,23 @@
466466
"prefix": "--default-genotype"
467467
},
468468
"doc": "Default genotype if coverage is too low (options are Het or Hom)."
469+
},
470+
{
471+
"id": "#biometrics_extract.cwl/biometrics_extract_0_2_13/file_type",
472+
"type": [
473+
"null",
474+
"string"
475+
],
476+
"doc": "Specify the type of bam file you are generating the pickle for to be incorporated in pickle file name (Myeloid_1_L001_duplex.pickle)"
469477
}
470478
],
471479
"outputs": [
472480
{
473481
"id": "#biometrics_extract.cwl/biometrics_extract_0_2_13/biometrics_extract_pickle",
474482
"type": "File",
475483
"outputBinding": {
476-
"glob": "${\n if (inputs.database) {\n return inputs.database + '/' + inputs.sample_name + '.pickle';\n } else {\n return inputs.sample_name + '.pickle';\n }\n}"
484+
"glob": "${\n if (inputs.database) {\n return inputs.database + '/' + inputs.sample_name + '.pickle';\n }\n else {\n return inputs.sample_name + '.pickle';\n }\n}",
485+
"outputEval": "${\n if (inputs.file_type) {\n self[0].basename = inputs.sample_name + '_' + inputs.file_type + \".pickle\";\n return self;\n }\n else {\n return self;\n }\n}"
477486
}
478487
}
479488
],
@@ -499,6 +508,16 @@
499508
"class": "http://xmlns.com/foaf/0.1/Person",
500509
"http://xmlns.com/foaf/0.1/mbox": "mailto:murphyc4@mskcc.org",
501510
"http://xmlns.com/foaf/0.1/name": "Charlie Murphy"
511+
},
512+
{
513+
"class": "http://xmlns.com/foaf/0.1/Person",
514+
"http://xmlns.com/foaf/0.1/mbox": "mailto:shahr2@mskcc.org",
515+
"http://xmlns.com/foaf/0.1/name": "Ronak Shah"
516+
},
517+
{
518+
"class": "http://xmlns.com/foaf/0.1/Person",
519+
"http://xmlns.com/foaf/0.1/mbox": "mailto:charlk@mskcc.org",
520+
"http://xmlns.com/foaf/0.1/name": "Carmelina Charlambous"
502521
}
503522
],
504523
"http://xmlns.com/foaf/0.1/name": "Memorial Sloan Kettering Cancer Center"
@@ -2577,6 +2596,15 @@
25772596
"type": "int",
25782597
"https://www.sevenbridges.com/x": 0,
25792598
"https://www.sevenbridges.com/y": 2667.265625
2599+
},
2600+
{
2601+
"id": "#main/duplex_biometrics_extract_file_type",
2602+
"type": [
2603+
"null",
2604+
"string"
2605+
],
2606+
"https://www.sevenbridges.com/x": 829.6761474609375,
2607+
"https://www.sevenbridges.com/y": 1418.3421630859375
25802608
}
25812609
],
25822610
"outputs": [
@@ -3037,6 +3065,11 @@
30373065
{
30383066
"id": "#main/biometrics_extract_0_2_13/min_coverage",
30393067
"default": 200
3068+
},
3069+
{
3070+
"id": "#main/biometrics_extract_0_2_13/file_type",
3071+
"default": "duplex",
3072+
"source": "#main/duplex_biometrics_extract_file_type"
30403073
}
30413074
],
30423075
"out": [
@@ -3201,12 +3234,6 @@
32013234
"requirements": [
32023235
{
32033236
"class": "SubworkflowFeatureRequirement"
3204-
},
3205-
{
3206-
"class": "InlineJavascriptRequirement"
3207-
},
3208-
{
3209-
"class": "StepInputExpressionRequirement"
32103237
}
32113238
],
32123239
"https://schema.org/author": [

qc_uncollapsed_bam/qc_uncollapsed_bam__packed.cwl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1797,7 +1797,10 @@
17971797
"type": "File",
17981798
"outputBinding": {
17991799
"glob": "${\n if(inputs.output){\n return inputs.output\n } else {\n return inputs.input.basename.replace(/.bam|.sam/, '_revertsam.bam')\n }\n}"
1800-
}
1800+
},
1801+
"secondaryFiles": [
1802+
"^.bai"
1803+
]
18011804
},
18021805
{
18031806
"id": "#gatk_revert_sam_4.1.8.0.cwl/gatk_revert_sam_4_1_8_0/gatk_revert_sam_output_map",

qc_uncollapsed_bam/qc_uncollapsed_bam_v2.0__packed.cwl

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1797,7 +1797,10 @@
17971797
"type": "File",
17981798
"outputBinding": {
17991799
"glob": "${\n if(inputs.output){\n return inputs.output\n } else {\n return inputs.input.basename.replace(/.bam|.sam/, '_revertsam.bam')\n }\n}"
1800-
}
1800+
},
1801+
"secondaryFiles": [
1802+
"^.bai"
1803+
]
18011804
},
18021805
{
18031806
"id": "#gatk_revert_sam_4.1.8.0.cwl/gatk_revert_sam_4_1_8_0/gatk_revert_sam_output_map",
@@ -2200,6 +2203,10 @@
22002203
{
22012204
"id": "#main/gatk_revert_sam_4_1_8_0/validation_stringency",
22022205
"default": "SILENT"
2206+
},
2207+
{
2208+
"id": "#main/gatk_revert_sam_4_1_8_0/create_index",
2209+
"default": true
22032210
}
22042211
],
22052212
"out": [

vardict_workflow/run_processed_vardict.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ steps:
103103
- id: vcf_complex
104104
- id: vcf
105105
run: >-
106-
../command_line_tools/postprocessing_variant_calls/0.1.4/pv_vardict_single_filter.cwl
106+
../command_line_tools/postprocessing_variant_calls/0.1.5/pv_vardict_single_filter.cwl
107107
'sbg:x': 1.4255318641662598
108108
'sbg:y': -197.1702117919922
109109
- id: variants_concat

vardict_workflow/run_processed_vardict__packed.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@
848848
"hints": [
849849
{
850850
"class": "DockerRequirement",
851-
"dockerPull": "ghcr.io/msk-access/postprocessing_variant_calls:0.1.4"
851+
"dockerPull": "ghcr.io/msk-access/postprocessing_variant_calls:0.1.5"
852852
}
853853
],
854854
"id": "#pv_vardict_single_filter.cwl",

0 commit comments

Comments
 (0)