Skip to content

Commit

Permalink
Merge pull request #680 from umccr/bugfix/sanitise-subject-id-for-orc…
Browse files Browse the repository at this point in the history
…abus

Sanitise subject id for oncoanalyser / sash / nf workflows
  • Loading branch information
alexiswl authored Nov 10, 2024
2 parents c2f1418 + 912f0f6 commit 80491d0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def handler(event, context) -> Dict:
"input_event_data": {
"mode": MODE,
"analysisType": ANALYSIS_TYPE,
"subjectId": subject_id,
"subjectId": subject_id.replace(" ", "_"),
"tumorDnaSampleId": tumor_library_id,
"normalDnaSampleId": normal_library_id,
"tumorDnaBamUri": join_url_paths(dragen_somatic_output_s3_uri, tumor_library_id + "_tumor.bam"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def handler(event, context) -> Dict:
"input_event_data": {
"mode": MODE,
"analysisType": ANALYSIS_TYPE,
"subjectId": subject_id,
"subjectId": subject_id.replace(" ", "_"),
"tumorRnaSampleId": tumor_library_id,
"tumorRnaFastqListRows": tumor_fastq_list_rows,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def handler(event, context) -> Dict:
# Get the bam uris by taking the library ids
return {
"input_event_data": {
"subjectId": subject_id,
"subjectId": subject_id.replace(" ", "_"),
"tumorDnaSampleId": tumor_library_id,
"normalDnaSampleId": normal_library_id,
"dragenSomaticUri": dragen_somatic_output_s3_uri,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def handler(event, context) -> Dict:
"input_event_data": {
"mode": MODE,
"analysisType": ANALYSIS_TYPE,
"subjectId": subject_id,
"subjectId": subject_id.replace(" ", "_"),
"tumorDnaSampleId": tumor_dna_library_id,
"normalDnaSampleId": normal_dna_library_id,
"tumorRnaSampleId": tumor_rna_library_id,
Expand Down

0 comments on commit 80491d0

Please sign in to comment.