+"""
+Extract configuration from Illumina Bustard Directory.
+This includes the version number, run date, bustard executable parameters, and
+phasing estimates.
+"""
from datetime import date
from glob import glob
import logging
VERSION_RE, \
EUROPEAN_STRPTIME
+# make epydoc happy
+__docformat__ = "restructuredtext en"
+
class Phasing(object):
PHASING = 'Phasing'
PREPHASING = 'Prephasing'
def bustard(pathname):
"""
- Construct a Bustard object from pathname
+ Construct a Bustard object by analyzing an Illumina Bustard directory.
+
+ :Parameters:
+ - `pathname`: A bustard directory
+
+ :Return:
+ Fully initialized Bustard object.
"""
b = Bustard()
path, name = os.path.split(pathname)
return b
def fromxml(tree):
+ """
+ Reconstruct a htsworkflow.pipelines.Bustard object from an xml block
+ """
b = Bustard()
b.set_elements(tree)
return b
#!/usr/bin/python
+__docformat__ = "restructuredtext en"
+
import subprocess
import logging
import time
"""
Extract information about the Firecrest run
-Firecrest - class holding the properties we found
-firecrest - Firecrest factory function initalized from a directory name
-fromxml - Firecrest factory function initalized from an xml dump from
- the Firecrest object.
+Firecrest
+ class holding the properties we found
+firecrest
+ Firecrest factory function initalized from a directory name
+fromxml
+ Firecrest factory function initalized from an xml dump from
+ the Firecrest object.
"""
from datetime import date
VERSION_RE, \
EUROPEAN_STRPTIME
+__docformat__ = "restructuredtext en"
+
class Firecrest(object):
XML_VERSION=1
"""
Extract information about the IPAR run
-IPAR - class holding the properties we found
-IPAR - IPAR factory function initalized from a directory name
-fromxml - IPAR factory function initalized from an xml dump from
- the IPAR object.
+IPAR
+ class holding the properties we found
+ipar
+ IPAR factory function initalized from a directory name
+fromxml
+ IPAR factory function initalized from an xml dump from
+ the IPAR object.
"""
+__docformat__ = "restructuredtext en"
import datetime
import logging
import sys
import urllib2
+__docformat__ = "restructredtext en"
+
CONFIG_SYSTEM = '/etc/hts_frontend/hts_frontend.conf'
CONFIG_USER = os.path.expanduser('~/.hts_frontend.conf')
+__docformat__ = "restructuredtext en"
+
import glob
import re
import os
You should probably use startCmdLineStatusMonitor()
instead of ths function.
- Use with:
- t = threading.Thread(target=_cmdLineStatusMonitorFunc,
- args=[conf_info])
- t.setDaemon(True)
- t.start()
+ .. python:
+ def example_launch():
+ t = threading.Thread(target=_cmdLineStatusMonitorFunc,
+ args=[conf_info])
+ t.setDaemon(True)
+ t.start()
"""
SLEEP_AMOUNT = 30