Skip to content

Commit

Permalink
Fix vcf files in helix export file.
Browse files Browse the repository at this point in the history
  • Loading branch information
rernst committed Sep 6, 2022
1 parent 17d95e8 commit f62f8bb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions clarity_epp/export/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,13 @@ def helix_magnis(lims, process_id, output_file):
exomedepth_vcf = ''
if 'Dx GATK vcf' in artifact.udf:
gatk_vcf = artifact.udf['Dx GATK vcf']
elif 'Dx GATK vcf' in artifact.input_artifact_list()[0].udf: # Look one more step back.
gatk_vcf = artifact.input_artifact_list()[0].udf['Dx GATK vcf']

if 'Dx ExomeDepth vcf' in artifact.udf:
exomedepth_vcf = artifact.udf['Dx ExomeDepth vcf']
elif 'Dx ExomeDepth vcf' in artifact.input_artifact_list()[0].udf: # Look one more step back.
exomedepth_vcf = artifact.input_artifact_list()[0].udf['Dx ExomeDepth vcf']

output_file.write((
"{meet_id}\t{werklijst}\t{onderzoeksnummer}\t{monsternummer}\t{meetw_zui}\t{meetw_zui_herh}\t"
Expand Down

0 comments on commit f62f8bb

Please sign in to comment.