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

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 18 19
__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__))
    return toolverformat % (verformat % (toolname,toolversion),
                            verformat % (name, __version__))