Skip to content

Commit

Permalink
Merge pull request #17 from kids-first/feature/mb-add-default
Browse files Browse the repository at this point in the history
✏️ Added defaults
  • Loading branch information
migbro authored May 20, 2024
2 parents f777ca0 + 0d58891 commit 5828407
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tools/bcftools_filter_vcf.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ inputs:
threads: { type: 'int?', default: 4 }
exclude_expression: { type: 'string?', doc: "See bcftools docs for valid expression. Can't be used at the same time as include_expression. Use double quotes when a string needs to be quoted"}
filter_expression: { type: 'string?', doc: "Add values from FILTER field to subset on"}
output_type: { type: [ 'null', {type: enum, name: output_type, symbols: [ "u", "b", "v", "z"]}]}
output_type: { type: [ 'null', {type: enum, name: output_type, symbols: [ "u", "b", "v", "z"]}], default: "z"}
sample_name: { type: 'string?', doc: "csv string of samples if user wishes to apply filtering to and output specific samples"}
output_basename: string
outputs:
Expand Down
4 changes: 4 additions & 0 deletions workflows/kfdrc-germline-snv-annot-workflow.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ requirements:
- class: ScatterFeatureRequirement
- class: MultipleInputFeatureRequirement
- class: SubworkflowFeatureRequirement
- class: StepInputExpressionRequirement
- class: InlineJavascriptRequirement
inputs:
indexed_reference_fasta: {type: 'File', secondaryFiles: [.fai, ^.dict], "sbg:suggestedValue": {class: File, path: 60639014357c3a53540ca7a3,
name: Homo_sapiens_assembly38.fasta, secondaryFiles: [{class: File, path: 60639019357c3a53540ca7e7, name: Homo_sapiens_assembly38.dict},
Expand Down Expand Up @@ -251,6 +253,8 @@ steps:
input_vcf: input_vcf
include_expression: bcftools_prefilter_csv
output_basename: output_basename
output_type:
valueFrom: "z"
out: [filtered_vcf]

normalize_vcf:
Expand Down
2 changes: 2 additions & 0 deletions workflows/kfdrc-somatic-snv-annot-workflow.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ steps:
input_vcf: hotspots_annotation/hotspots_vcf
include_expression: bcftools_public_filter
output_basename: output_basename
output_type:
valueFrom: "z"
out: [filtered_vcf]
kfdrc_vcf2maf_public:
run: ../tools/kf_mskcc_vcf2maf.cwl
Expand Down

0 comments on commit 5828407

Please sign in to comment.