Skip to content

Commit 0b3cb6d

Browse files
committed
'make_fastqs': update tests now '10x_chromium_sc' can accept Illumina indexes.
1 parent 4b9832d commit 0b3cb6d

1 file changed

Lines changed: 0 additions & 36 deletions

File tree

auto_process_ngs/test/commands/test_make_fastqs_cmd.py

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -289,42 +289,6 @@ def test_make_fastqs_standard_protocol_specify_id(self):
289289
os.path.join(analysis_dir,filen)),
290290
"Missing file: %s" % filen)
291291

292-
#@unittest.skip("Skipped")
293-
def test_make_fastqs_standard_protocol_exception_for_chromium_sc_indices(self):
294-
"""make_fastqs: standard protocol with Chromium SC indices raises exception
295-
"""
296-
# Sample sheet with 10xGenomics Chromium SC indices
297-
samplesheet_chromium_sc_indices = """[Data]
298-
Sample_ID,Sample_Name,Sample_Plate,Sample_Well,I7_Index_ID,index,Sample_Project,Description
299-
smpl1,smpl1,,,A001,SI-GA-A1,10xGenomics,
300-
smpl2,smpl2,,,A005,SI-GA-B1,10xGenomics,
301-
smpl3,smpl3,,,A006,SI-GA-C1,10xGenomics,
302-
smpl4,smpl4,,,A007,SI-GA-D1,10xGenomics,
303-
"""
304-
sample_sheet = os.path.join(self.wd,"SampleSheet.csv")
305-
with open(sample_sheet,'w') as fp:
306-
fp.write(samplesheet_chromium_sc_indices)
307-
# Create mock source data
308-
illumina_run = MockIlluminaRun(
309-
"171020_NB500968_00002_AHGXXXX",
310-
"nextseq",
311-
top_dir=self.wd)
312-
illumina_run.create()
313-
# Create mock bcl2fastq
314-
MockBcl2fastq2Exe.create(os.path.join(self.bin,"bcl2fastq"))
315-
os.environ['PATH'] = "%s:%s" % (self.bin,
316-
os.environ['PATH'])
317-
# Do the test
318-
ap = AutoProcess(settings=self.settings)
319-
ap.setup(os.path.join(self.wd,
320-
"171020_NB500968_00002_AHGXXXX"),
321-
sample_sheet=sample_sheet)
322-
self.assertTrue(ap.params.sample_sheet is not None)
323-
self.assertRaises(Exception,
324-
make_fastqs,
325-
ap,
326-
protocol="standard")
327-
328292
#@unittest.skip("Skipped")
329293
def test_make_fastqs_standard_protocol_stores_bases_mask(self):
330294
"""make_fastqs: standard protocol stores supplied bases mask

0 commit comments

Comments
 (0)