def get_params():
    """Parse and analyse command line parameters."""
    import argparse
    usage = """
Provide the path to the directory in which MMseqs2 source code shipping with SonicParanoid will be stored.
"""
    parser = argparse.ArgumentParser(description=
        'Copies the MMseqs2 binary file inside the SonicParanoid root directory, and checks the version compatibility'
        , usage='%(prog)s -o <MMSEQS_PATH>', prog='sonicparanoid-set-mmseqs2')
    parser.add_argument('-i', '--mmseqs-path', type=str, required=True,
        help='The path to the MMseqs2 binary file.', default=None)
    parser.add_argument('-d', '--debug', required=False, help=
        'Output debug information.', default=False, action='store_true')
    args = parser.parse_args()
    return args, parser
