__init__.py 751 Bytes
Newer Older
jhoogenboom's avatar
jhoogenboom committed
1 2
"""
Tools for characterisation and filtering of PCR stutter artefacts and other
3
systemic noise in Next Generation Sequencing data of forensic DNA markers.
jhoogenboom's avatar
jhoogenboom committed
4 5
"""

jhoogenboom's avatar
jhoogenboom committed
6
__version_info__ = ('0', '0', '2')
jhoogenboom's avatar
jhoogenboom committed
7 8 9 10 11 12 13 14 15 16 17
__version__ = '.'.join(__version_info__)
usage = __doc__.split("\n\n\n")

def version(name, toolname=None, toolversion=None):
    """Return a version string for the package or a given tool."""
    verformat = "%s %s"
    toolverformat = "%s (part of %s)"
    if toolname is None:
        return verformat % (name, __version__)
    if toolversion is None:
        return toolverformat % (toolname, verformat % (name, __version__))
jhoogenboom's avatar
jhoogenboom committed
18
    return toolverformat % (verformat % (toolname, toolversion),
jhoogenboom's avatar
jhoogenboom committed
19
                            verformat % (name, __version__))