__init__.py 834 Bytes
Newer Older
jhoogenboom's avatar
jhoogenboom committed
1
"""
2 3 4
Data analysis tools for Next Generation Sequencing of forensic DNA markers,
including tools for characterisation and filtering of PCR stutter artefacts and
other systemic noise, and for automatic detection of the alleles in a sample.
jhoogenboom's avatar
jhoogenboom committed
5 6
"""

7
__version_info__ = ('0', '0', '3')
jhoogenboom's avatar
jhoogenboom committed
8 9 10 11 12 13 14 15 16 17 18
__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
19
    return toolverformat % (verformat % (toolname, toolversion),
jhoogenboom's avatar
jhoogenboom committed
20
                            verformat % (name, __version__))