Files
obitools3/scripts/obi

65 lines
1.8 KiB
Plaintext
Raw Normal View History

2019-09-22 18:52:05 +02:00
#!/usr/local/bin/python3.5
'''
2019-09-22 18:52:05 +02:00
obi -- OBITools3
2019-09-22 18:52:05 +02:00
obi is a package for the management of analyses and data in DNA metabarcoding
2019-09-22 18:52:05 +02:00
@author: Celine Mercier
2019-09-22 18:52:05 +02:00
@license: CeCILL-V2
2019-09-22 18:52:05 +02:00
@contact: celine.mercier@metabarcoding.org
'''
2019-09-22 18:52:05 +02:00
default_config = { 'software' : "The OBITools 3",
'log' : False,
'loglevel' : 'INFO',
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
2019-09-22 18:52:05 +02:00
__date__ = '2019-09-22'
__updated__ = '2019-09-22'
DEBUG = 1
TESTRUN = 0
PROFILE = 0
if __name__ =="__main__":
config = getConfiguration(root_config_name,
default_config)
config[root_config_name]['module'].run(config)