Lorian renamed some of the libraries, change our hard coding to match.
authorDiane Trout <diane@caltech.edu>
Fri, 4 Nov 2011 21:56:53 +0000 (14:56 -0700)
committerDiane Trout <diane@caltech.edu>
Fri, 4 Nov 2011 23:04:40 +0000 (16:04 -0700)
(Really should change to pull out of adapter type DB)

htsworkflow/submission/daf.py

index c59c45c83b1f97f5b25db767cc8b859d1441a769..bed304a63193e65704b72c8328b035138a9839eb 100644 (file)
@@ -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: