scripts/export/fasta_export.py
def usage():
    """
    Parses arguments and displays usage information on screen
    """

    parser = argparse.ArgumentParser(
        description="Rfam fasta export tool", epilog='')

    # group required arguments together
    req_args = parser.add_argument_group("required arguments")

    req_args.add_argument("--sql", help="query to execute (string or .sql file)",
                          type=str, required=True)

    parser.add_argument(
        "--infile", help="sequence database file (rfamseq11 by default)",
        type=str, default=None)

    parser.add_argument(
        "--filename", help="an output filename", type=str, default=None)

    req_args.add_argument(
        "--out", help="path to output directory", type=str, required=True)

    return parser

    Parses arguments and displays usage information on screen
    
Parses arguments and displays usage information on screen
Parses arguments and displays usage information on screen
def usage():
    parser = argparse.ArgumentParser(
        description="Rfam fasta export tool", epilog='')
    req_args = parser.add_argument_group("required arguments")
    req_args.add_argument("--sql", help="query to execute (string or .sql file)",
                          type=str, required=True)
    parser.add_argument(
        "--infile", help="sequence database file (rfamseq11 by default)",
        type=str, default=None)
    parser.add_argument(
        "--filename", help="an output filename", type=str, default=None)
    req_args.add_argument(
        "--out", help="path to output directory", type=str, required=True)
    return parser
def usage ( ) : parser = argparse . ArgumentParser ( description = "Rfam fasta export tool" , epilog = '' ) req_args = parser . add_argument_group ( "required arguments" ) req_args . add_argument ( "--sql" , help = "query to execute (string or .sql file)" , type = str , required = True ) parser . add_argument ( "--infile" , help = "sequence database file (rfamseq11 by default)" , type = str , default = None ) parser . add_argument ( "--filename" , help = "an output filename" , type = str , default = None ) req_args . add_argument ( "--out" , help = "path to output directory" , type = str , required = True ) return parser
Parses arguments and displays usage information on screen
Parses arguments and displays usage information on screen
"""
    Parses arguments and displays usage information on screen
    """ # group required arguments together