The config file should also set the SEQUENCE_FORMAT
authorDiane Trout <diane@caltech.edu>
Sat, 26 Sep 2009 01:35:25 +0000 (01:35 +0000)
committerDiane Trout <diane@caltech.edu>
Sat, 26 Sep 2009 01:35:25 +0000 (01:35 +0000)
(also I forgot to change a .getcode() to .code

htsworkflow/pipelines/retrieve_config.py

index 3b6ba3e21f331f5ceade12cd40349831131d6653..dbd3e69dde2346d402cd34ffef4c13073ea4899f 100644 (file)
@@ -49,7 +49,7 @@ def retrieve_flowcell_info(base_host_url, flowcell):
     
     contents = web.read()
     headers = web.info()
-   
+
     if web.code == 403:
         msg = "403 - Forbbidden, probably need api key"
         raise FlowCellNotFound(msg)
@@ -106,6 +106,8 @@ def format_gerald_header(flowcell_info):
         lane_info = flowcell_info['lane_set'][lane_number]
         config += ['Lane%s: %s | %s' % (lane_number, lane_info['library_id'],
                                         lane_info['library_name'])]
+
+    config += ['SEQUENCE_FORMAT --fastq']
     config += ['']
     return "\n# ".join(config)