From 7e7728fabe6a2b2f7d5ed0ba8a25213eb23082c2 Mon Sep 17 00:00:00 2001 From: Victor San Kho Lin Date: Thu, 9 Mar 2023 16:05:27 +1100 Subject: [PATCH] Updated tumor normal trigger pairing payload * See upstream changes for somatic+germline input output changes https://github.com/umccr/data-portal-apis/pull/572 --- src/api/pairing.ts | 9 ++-- .../subjects/SubjectWGSTNLaunch/index.tsx | 47 ++++++++++++++++--- 2 files changed, 47 insertions(+), 9 deletions(-) diff --git a/src/api/pairing.ts b/src/api/pairing.ts index 879cf90..d222dff 100644 --- a/src/api/pairing.ts +++ b/src/api/pairing.ts @@ -20,9 +20,12 @@ export type FastqRow = { export type FASTQPairingPayload = { subject_id: string; - sample_name: string; - output_file_prefix: string; - output_directory: string; + sample_name_germline: string; + sample_name_somatic: string; + output_file_prefix_germline: string; + output_file_prefix_somatic: string; + output_directory_germline: string; + output_directory_somatic: string; fastq_list_rows: FastqRow[]; tumor_fastq_list_rows: FastqRow[]; }; diff --git a/src/containers/subjects/SubjectWGSTNLaunch/index.tsx b/src/containers/subjects/SubjectWGSTNLaunch/index.tsx index e452323..55f9aa1 100644 --- a/src/containers/subjects/SubjectWGSTNLaunch/index.tsx +++ b/src/containers/subjects/SubjectWGSTNLaunch/index.tsx @@ -201,19 +201,54 @@ export default function SubjectWGSTNLaunch({ subjectId }: Props) { -
Sample Name (Tumor Library Id)
+
Somatic Sample Name (Tumor Library Id)
- +
-
Output File Prefix (Tumor Sample Id)
+
Germline Sample Name (Normal Library Id)
- +
-
Output Directory (tumorLibraryId_normalLibraryId)
+
Somatic Output File Prefix (Tumor Sample Id)
- + +
+ +
Germline Output File Prefix (Normal Sample Id)
+
+ +
+ +
Somatic Output Directory (tumorLibraryId_normalLibraryId)
+
+ +
+ +
Germline Output Directory (Normal Library Id)
+
+