This module just acts as an entry point to the bulk of the pipeline.
    All argument parsing is delegated to metator.sh

def main():
    """This module just acts as an entry point to the bulk of the pipeline.
    All argument parsing is delegated to metator.sh
    """

    metator_args = sys.argv[1:]
    entry_point = pkg_resources.resource_filename("metator", "bin/metator.sh")

    try:
        metator_process = subprocess.Popen((entry_point, *metator_args))
    except PermissionError:  # some issues occured for non-bash users
        metator_process = subprocess.Popen(
            (entry_point, *metator_args), shell=True
        )
    metator_process.wait()