scripts/processing/clan_competition.py
def parse_arguments():
    """
    Basic argument parsing using Python's argparse

    return: Argparse parser object
    """

    parser = argparse.ArgumentParser(prog="clan_competition.py")

    parser.add_argument("--input", help="A directory of with clan files to compete")
    parser.add_argument("-r", help="Reset is_significant field", action="store_true",
                        default=False)
    mutualy_exclusive = parser.add_mutually_exclusive_group()
    mutualy_exclusive.add_argument("--pdb", help="Clan compete PDB regions",
                        action="store_true", default=False)
    mutualy_exclusive.add_argument("--full", help="Clan compete FULL regions",
                        action="store_true", default=False)

    return parser

    Basic argument parsing using Python's argparse

    return: Argparse parser object
    
Basic argument parsing using Python's argparse
return: Argparse parser object
Basic argument parsing using Python ' s argparse return : Argparse parser object
def parse_arguments():
    parser = argparse.ArgumentParser(prog="clan_competition.py")
    parser.add_argument("--input", help="A directory of with clan files to compete")
    parser.add_argument("-r", help="Reset is_significant field", action="store_true",
                        default=False)
    mutualy_exclusive = parser.add_mutually_exclusive_group()
    mutualy_exclusive.add_argument("--pdb", help="Clan compete PDB regions",
                        action="store_true", default=False)
    mutualy_exclusive.add_argument("--full", help="Clan compete FULL regions",
                        action="store_true", default=False)
    return parser
def parse_arguments ( ) : parser = argparse . ArgumentParser ( prog = "clan_competition.py" ) parser . add_argument ( "--input" , help = "A directory of with clan files to compete" ) parser . add_argument ( "-r" , help = "Reset is_significant field" , action = "store_true" , default = False ) mutualy_exclusive = parser . add_mutually_exclusive_group ( ) mutualy_exclusive . add_argument ( "--pdb" , help = "Clan compete PDB regions" , action = "store_true" , default = False ) mutualy_exclusive . add_argument ( "--full" , help = "Clan compete FULL regions" , action = "store_true" , default = False ) return parser
Basic argument parsing using Python's argparse
return: Argparse parser object
Basic argument parsing using Python ' s argparse return : Argparse parser object
"""
    Basic argument parsing using Python's argparse

    return: Argparse parser object
    """