Skip to content

Commit

Permalink
Adding more args into Funcotator M2 WDL.
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeTL1220 committed Jul 3, 2018
1 parent 468df3d commit 9150721
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/mutect2_wdl/mutect2.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,8 @@ workflow Mutect2 {
ref_dict = ref_dict,
reference_version = select_first([funco_reference_version, "hg19"]),
data_sources_tar_gz = funco_data_sources_tar_gz,
case_id = M2.tumor_sample[0],
control_id = M2.normal_sample[0],
transcript_selection_mode = funco_transcript_selection_mode,
transcript_selection_list = funco_transcript_selection_list,
annotation_defaults = funco_annotation_defaults,
Expand Down Expand Up @@ -994,6 +996,8 @@ task FuncotateMaf {
String output_format = "MAF"
String? sequencing_center
String? sequence_source
String case_id
String? control_id

File? data_sources_tar_gz
String? transcript_selection_mode
Expand Down Expand Up @@ -1068,6 +1072,10 @@ task FuncotateMaf {
${interval_list_arg} ${default="" interval_list} \
${"--transcript-selection-mode " + transcript_selection_mode} \
${"--transcript-list " + transcript_selection_list} \
--annotation-default normal_barcode:${control_id} \
--annotation-default tumor_barcode:${case_id} \
--annotation-default Center:${default="Unknown" sequencing_center} \
--annotation-default source:${default="Unknown" sequence_source} \
${annotation_def_arg}${default="" sep=" --annotation-default " annotation_defaults} \
${annotation_over_arg}${default="" sep=" --annotation-override " annotation_overrides} \
${filter_funcotations_args} \
Expand Down
8 changes: 8 additions & 0 deletions scripts/mutect2_wdl/mutect2_nio.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,8 @@ workflow Mutect2 {
ref_fasta = ref_fasta,
reference_version = select_first([funco_reference_version, "hg19"]),
data_sources_tar_gz = funco_data_sources_tar_gz,
case_id = M2.tumor_sample[0],
control_id = M2.normal_sample[0],
transcript_selection_mode = funco_transcript_selection_mode,
transcript_selection_list = funco_transcript_selection_list,
annotation_defaults = funco_annotation_defaults,
Expand Down Expand Up @@ -961,6 +963,8 @@ task FuncotateMaf {
String output_format = "MAF"
String? sequencing_center
String? sequence_source
String case_id
String? control_id

File? data_sources_tar_gz
String? transcript_selection_mode
Expand Down Expand Up @@ -1035,6 +1039,10 @@ task FuncotateMaf {
${interval_list_arg} ${default="" interval_list} \
${"--transcript-selection-mode " + transcript_selection_mode} \
${"--transcript-list " + transcript_selection_list} \
--annotation-default normal_barcode:${control_id} \
--annotation-default tumor_barcode:${case_id} \
--annotation-default Center:${default="Unknown" sequencing_center} \
--annotation-default source:${default="Unknown" sequence_source} \
${annotation_def_arg}${default="" sep=" --annotation-default " annotation_defaults} \
${annotation_over_arg}${default="" sep=" --annotation-override " annotation_overrides} \
${filter_funcotations_args} \
Expand Down

0 comments on commit 9150721

Please sign in to comment.