Initial port to python3
[htsworkflow.git] / htsworkflow / pipelines / srf.py
index d7efc7d0c3b4682b27e8255e586f469576835f54..94445b600f2232b60bf35d35224934e89b5db389 100644 (file)
@@ -42,7 +42,7 @@ def make_srf_commands(run_name, bustard_dir, lanes, site_name, destdir, cmdlevel
   make a subprocess-friendly list of command line arguments to run solexa2srf
   generates files like:
   woldlab:080514_HWI-EAS229_0029_20768AAXX:8.srf
-   site        run name                    lane
+  site        run name                    lane
 
   run_name - most of the file name (run folder name is a good choice)
   lanes - list of integers corresponding to which lanes to process
@@ -111,7 +111,7 @@ def create_qseq_patterns(bustard_dir):
       qseq_patterns = []
       # grab a lane from the dictionary
       # I don't think it matters which one.
-      k = lanes.keys()[0]
+      k = list(lanes.keys())[0]
       # build the list of patterns
       for read in lanes[k]:
         read = int(read)