From 1229090770ef90ab12ca4d20a2678532d7e9f289 Mon Sep 17 00:00:00 2001 From: Diane Trout Date: Fri, 4 Nov 2011 14:56:53 -0700 Subject: [PATCH] Lorian renamed some of the libraries, change our hard coding to match. (Really should change to pull out of adapter type DB) --- htsworkflow/submission/daf.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/htsworkflow/submission/daf.py b/htsworkflow/submission/daf.py index c59c45c..bed304a 100644 --- a/htsworkflow/submission/daf.py +++ b/htsworkflow/submission/daf.py @@ -530,9 +530,13 @@ class DAFMapper(object): errmsg = "%s doesn't have a library type" raise ModelException(errmsg % (str(libNode),)) - #single = (1,3,6) - single = ['Single End', 'Small RNA', 'CSHL (lacking last nt)'] - paired = ['Paired End', 'Multiplexing', 'Barcoded'] + single = ['CSHL (lacking last nt)', + 'Single End (non-multiplexed)', + 'Small RNA (non-multiplexed)',] + paired = ['Barcoded Illumina', + 'Multiplexing', + 'Nextera', + 'Paired End (non-multiplexed)',] if library_type in single: return False elif library_type in paired: -- 2.30.2