Skip to content

Commit

Permalink
Give AmpliconSampleSheet a SheetType.
Browse files Browse the repository at this point in the history
Give AmpiconSampleSheet a SheetType and SheetVersion, since it's
expected that children of KLSampleSheet have them defined. Dummy
amplicon sample-sheets are created by SPP to pass to bcl-convert, based
on the lab-supplied pre-prep file. Giving it the type 'dummy_amp' avoids
having it erroneously say 'standard_metag'.
  • Loading branch information
charles-cowart committed Dec 19, 2023
1 parent 2996665 commit 0ecd413
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion metapool/sample_sheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
_METAGENOMIC = 'Metagenomic'
_METATRANSCRIPTOMIC = 'Metatranscriptomic'
_STANDARD_SHEET_TYPE = 'standard_metag'
_DUMMY_SHEET_TYPE = 'dummy_amp'
_ABSQUANT_SHEET_TYPE = 'abs_quant_metag'
SHEET_TYPES = (_STANDARD_SHEET_TYPE, _ABSQUANT_SHEET_TYPE)

Expand Down Expand Up @@ -711,7 +712,7 @@ def _validate_sample_sheet_metadata(self, metadata):
class AmpliconSampleSheet(KLSampleSheet):
_HEADER = {
'IEMFileVersion': '4',
'SheetType': _STANDARD_SHEET_TYPE,
'SheetType': _DUMMY_SHEET_TYPE,
'SheetVersion': '0',
'Investigator Name': 'Knight',
'Experiment Name': 'RKL_experiment',
Expand Down

0 comments on commit 0ecd413

Please sign in to comment.