Skip to content

Commit

Permalink
Merge pull request #405 from tgen/develop
Browse files Browse the repository at this point in the history
Mutation burden bugfix
  • Loading branch information
Austin Christofferson authored Feb 9, 2021
2 parents 436aae1 + 08097ad commit c99cc7c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions modules/metrics/main.jst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,12 @@

{% if tasks[taskPrefix+"_somatic_sample_metric_tgen_mutation_burden"]|default(true) %}
{% if flags.bcftools %}
{% set final_vcf_prefix %}{{ vcf_prefix }}.db{% endset %}
{# If pair.normal.pathToBam is defined then we have a tumor_only pair #}
{% if pair.normal.pathToBam is defined %}
{% set final_vcf_prefix %}{{ vcf_prefix }}.db.flt{% endset %}
{% else %}
{% set final_vcf_prefix %}{{ vcf_prefix }}.db{% endset %}
{% endif %}
{% else %}
{% set final_vcf_prefix %}{{ vcf_prefix }}{% endset %}
{% endif %}
Expand All @@ -60,4 +65,4 @@
{{- msisensor_pro(pair, normal_bam, tumor_bam, aligner) }}
{% endif %}

{% endmacro %}
{% endmacro %}

0 comments on commit c99cc7c

Please sign in to comment.