scripts/release/clan_file_generator.py
def parse_arguments():
    """
    Performs some basic argument parsing

    return: parser object
    """

    parser = argparse.ArgumentParser(description='Generates required clan competition input files')

    mutualy_exclusive = parser.add_mutually_exclusive_group()
    parser.add_argument("--dest-dir", help="Destination directory where to generate the files",
                        type=str, action="store")
    parser.add_argument("--cc-type", help="Specifies clan competition type FULL/PDB", type=str,
                        action="store")
    mutualy_exclusive.add_argument("--clan-acc", help="Clan accession", type=str)
    mutualy_exclusive.add_argument("--all", help="All clans in Rfam",
                                   action="store_true", default=False)
    mutualy_exclusive.add_argument("-f",
                                   help="A file with a list of clan accessions to compete",
                                   action="store")

    return parser

    Performs some basic argument parsing

    return: parser object
    
Performs some basic argument parsing
return: parser object
Performs some basic argument parsing return : parser object
def parse_arguments():
    parser = argparse.ArgumentParser(description='Generates required clan competition input files')
    mutualy_exclusive = parser.add_mutually_exclusive_group()
    parser.add_argument("--dest-dir", help="Destination directory where to generate the files",
                        type=str, action="store")
    parser.add_argument("--cc-type", help="Specifies clan competition type FULL/PDB", type=str,
                        action="store")
    mutualy_exclusive.add_argument("--clan-acc", help="Clan accession", type=str)
    mutualy_exclusive.add_argument("--all", help="All clans in Rfam",
                                   action="store_true", default=False)
    mutualy_exclusive.add_argument("-f",
                                   help="A file with a list of clan accessions to compete",
                                   action="store")
    return parser
def parse_arguments ( ) : parser = argparse . ArgumentParser ( description = 'Generates required clan competition input files' ) mutualy_exclusive = parser . add_mutually_exclusive_group ( ) parser . add_argument ( "--dest-dir" , help = "Destination directory where to generate the files" , type = str , action = "store" ) parser . add_argument ( "--cc-type" , help = "Specifies clan competition type FULL/PDB" , type = str , action = "store" ) mutualy_exclusive . add_argument ( "--clan-acc" , help = "Clan accession" , type = str ) mutualy_exclusive . add_argument ( "--all" , help = "All clans in Rfam" , action = "store_true" , default = False ) mutualy_exclusive . add_argument ( "-f" , help = "A file with a list of clan accessions to compete" , action = "store" ) return parser
Performs some basic argument parsing
return: parser object
Performs some basic argument parsing return : parser object
"""
    Performs some basic argument parsing

    return: parser object
    """