From 6eec5809475cf327c59015a36fdfd54528f5245c Mon Sep 17 00:00:00 2001 From: Feiyu Du Date: Thu, 27 Jun 2019 20:13:04 +0000 Subject: [PATCH] Update germline_detect_variants step --- definitions/pipelines/cle_aml_trio.cwl | 25 +++++-------------- .../subworkflows/germline_detect_variants.cwl | 4 +++ 2 files changed, 10 insertions(+), 19 deletions(-) diff --git a/definitions/pipelines/cle_aml_trio.cwl b/definitions/pipelines/cle_aml_trio.cwl index 86e4319d9..704f410d8 100644 --- a/definitions/pipelines/cle_aml_trio.cwl +++ b/definitions/pipelines/cle_aml_trio.cwl @@ -322,7 +322,7 @@ outputs: secondaryFiles: [.tbi] germline_final_tsv: type: File - outputSource: germline_add_vep_fields_to_table/annotated_variants_tsv + outputSource: germline_detect_variants/final_tsv somalier_concordance_metrics: type: File outputSource: concordance/somalier_pairs @@ -527,25 +527,12 @@ steps: custom_gnomad_vcf: custom_gnomad_vcf limit_variant_intervals: variant_reporting_intervals custom_clinvar_vcf: custom_clinvar_vcf + variants_to_table_fields: germline_variants_to_table_fields + variants_to_table_genotype_fields: germline_variants_to_table_genotype_fields + vep_to_table_fields: germline_vep_to_table_fields + final_tsv_prefix: germline_tsv_prefix out: - [final_vcf, coding_vcf, limited_vcf] - germline_variants_to_table: - run: ../tools/variants_to_table.cwl - in: - reference: reference - vcf: germline_detect_variants/limited_vcf - fields: germline_variants_to_table_fields - genotype_fields: germline_variants_to_table_genotype_fields - out: - [variants_tsv] - germline_add_vep_fields_to_table: - run: ../tools/add_vep_fields_to_table.cwl - in: - vcf: germline_detect_variants/limited_vcf - vep_fields: germline_vep_to_table_fields - tsv: germline_variants_to_table/variants_tsv - prefix: germline_tsv_prefix - out: [annotated_variants_tsv] + [final_vcf, coding_vcf, limited_vcf, final_tsv] alignment_stat_report: run: ../tools/cle_aml_trio_report_alignment_stat.cwl in: diff --git a/definitions/subworkflows/germline_detect_variants.cwl b/definitions/subworkflows/germline_detect_variants.cwl index 30ad7a239..2289a798f 100644 --- a/definitions/subworkflows/germline_detect_variants.cwl +++ b/definitions/subworkflows/germline_detect_variants.cwl @@ -55,6 +55,9 @@ inputs: type: string[]? vep_to_table_fields: type: string[]? + final_tsv_prefix: + type: string? + default: 'variants' outputs: gvcf: type: File[] @@ -167,4 +170,5 @@ steps: vcf: limit_variants/filtered_vcf vep_fields: vep_to_table_fields tsv: variants_to_table/variants_tsv + prefix: final_tsv_prefix out: [annotated_variants_tsv]