diff --git a/deep_sequencing_unit/source/Jython/createSampleSheet_nextseq.py b/deep_sequencing_unit/source/Jython/createSampleSheet_nextseq.py index 558b4a74816d864dba71c180e1d7ebbc6fb92767..b8045213b591fec261edb72bbd5fc874cb41fe3a 100644 --- a/deep_sequencing_unit/source/Jython/createSampleSheet_nextseq.py +++ b/deep_sequencing_unit/source/Jython/createSampleSheet_nextseq.py @@ -491,7 +491,7 @@ def createMiSeqSampleSheet(parentDict, flowCellDict, configMap, index1Vocabulary for key in parentDict.keys(): lane = parentDict[key]['LANE'][-1:] # If no index then just skip this sample - if configMap['index1Name'] not in parentDict[key]: + if (configMap['index1Name'] not in parentDict[key]) or (parentDict[key][configMap['index1Name']] == 'NOINDEX'): continue index1 = parentDict[key][configMap['index1Name']]