Skip to content

Commit

Permalink
Updated tumor normal trigger pairing payload
Browse files Browse the repository at this point in the history
* See upstream changes for somatic+germline input output changes
  umccr/data-portal-apis#572
  • Loading branch information
victorskl committed Mar 9, 2023
1 parent eb67b96 commit 7e7728f
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 9 deletions.
9 changes: 6 additions & 3 deletions src/api/pairing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[];
};
Expand Down
47 changes: 41 additions & 6 deletions src/containers/subjects/SubjectWGSTNLaunch/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -201,19 +201,54 @@ export default function SubjectWGSTNLaunch({ subjectId }: Props) {
<InputText className='w-full' type='text' disabled value={input.subject_id} />
</div>

<h5>Sample Name (Tumor Library Id)</h5>
<h5>Somatic Sample Name (Tumor Library Id)</h5>
<div className='w-full' style={{ cursor: 'not-allowed' }}>
<InputText className='w-full' type='text' disabled value={input.sample_name} />
<InputText className='w-full' type='text' disabled value={input.sample_name_somatic} />
</div>

<h5>Output File Prefix (Tumor Sample Id)</h5>
<h5>Germline Sample Name (Normal Library Id)</h5>
<div className='w-full' style={{ cursor: 'not-allowed' }}>
<InputText className='w-full' type='text' disabled value={input.output_file_prefix} />
<InputText className='w-full' type='text' disabled value={input.sample_name_germline} />
</div>

<h5>Output Directory (tumorLibraryId_normalLibraryId)</h5>
<h5>Somatic Output File Prefix (Tumor Sample Id)</h5>
<div className='w-full' style={{ cursor: 'not-allowed' }}>
<InputText className='w-full' type='text' disabled value={input.output_directory} />
<InputText
className='w-full'
type='text'
disabled
value={input.output_file_prefix_somatic}
/>
</div>

<h5>Germline Output File Prefix (Normal Sample Id)</h5>
<div className='w-full' style={{ cursor: 'not-allowed' }}>
<InputText
className='w-full'
type='text'
disabled
value={input.output_file_prefix_germline}
/>
</div>

<h5>Somatic Output Directory (tumorLibraryId_normalLibraryId)</h5>
<div className='w-full' style={{ cursor: 'not-allowed' }}>
<InputText
className='w-full'
type='text'
disabled
value={input.output_directory_somatic}
/>
</div>

<h5>Germline Output Directory (Normal Library Id)</h5>
<div className='w-full' style={{ cursor: 'not-allowed' }}>
<InputText
className='w-full'
type='text'
disabled
value={input.output_directory_germline}
/>
</div>

<div className='w-full mt-5 text-center'>
Expand Down

0 comments on commit 7e7728f

Please sign in to comment.