Files
obitools3/python/obi.py

71 lines
1.9 KiB
Python
Raw Normal View History

#!/usr/local/bin/python3.4
'''
obi -- shortdesc
obi is a description
It defines classes_and_methods
@author: user_name
@copyright: 2014 organization_name. All rights reserved.
@license: license
@contact: user_email
@deffield updated: Updated
'''
default_config = { 'software' : "The OBITools",
'log' : False,
'loglevel' : 'INFO',
2016-04-15 16:59:21 +02:00
'progress' : True,
2017-07-25 13:07:03 +02:00
'inputURI' : None,
2017-07-28 12:41:28 +02:00
'outputURI' : None,
'defaultdms' : None,
'inputview' : None,
2017-07-25 13:07:03 +02:00
'outputview' : None,
'skip' : 0,
'only' : None,
'fileformat' : None,
2017-07-25 13:07:03 +02:00
'skiperror' : True,
'qualityformat' : b'sanger',
'offset' : -1,
'noquality' : False,
'seqtype' : b'nuc',
"header" : False,
"sep" : None,
"quote" : [b"'",b'"'],
"dec" : b".",
"nastring" : b"NA",
"stripwhite" : True,
"blanklineskip" : True,
"commentchar" : b"#",
"nocreatedms" : False
}
root_config_name='obi'
from obitools3.apps.config import getConfiguration # @UnresolvedImport
from obitools3.version import version
__all__ = []
__version__ = version
__date__ = '2014-09-28'
__updated__ = '2014-09-28'
DEBUG = 1
TESTRUN = 0
PROFILE = 0
if __name__ =="__main__":
config = getConfiguration(root_config_name,
default_config)
config[root_config_name]['module'].run(config)