Make a sample key list to go along with our lane list
[htsworkflow.git] / htsworkflow / pipelines / samplekey.py
index 0ff6c31fbbb918f4f516150130abde0986c41fdd..60c2dbb1662c2ff660d60083c807cb173ae21a38 100644 (file)
@@ -1,3 +1,5 @@
+from htsworkflow.pipelines import LANE_LIST
+
 class SampleKey(object):
     """Identifier for a sample in a particular 'location' on a flowcell.
     """
@@ -72,3 +74,4 @@ class SampleKey(object):
 
         return '<SampleKey(' + ",".join(name) + ')>'
 
+LANE_SAMPLE_KEYS = [ SampleKey(lane=l) for l in LANE_LIST ]
\ No newline at end of file