We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b27e7d6 commit 1666516Copy full SHA for 1666516
src/sequence_processing_pipeline/NuQCJob.py
@@ -379,8 +379,15 @@ def _process_sample_sheet(self):
379
raise PipelineError(s)
380
381
sample_ids = []
382
+ # long_reads use the Sample_Name as the main sample identifier,
383
+ # everything else uses Sample_ID; we might want to change this
384
+ # in the future for everything to use Sample_Name
385
+ sample_id_column = 'Sample_ID'
386
+ if self.read_length == 'long':
387
+ sample_id_column = 'Sample_Name'
388
for sample in sheet.samples:
- sample_ids.append((sample['Sample_ID'], sample['Sample_Project']))
389
+ sample_ids.append(
390
+ (sample[sample_id_column], sample['Sample_Project']))
391
392
bioinformatics = sheet.Bioinformatics
393
0 commit comments