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

    return: Argparse parser object
    """

    parser = argparse.ArgumentParser("Tool to convert rnacentral export to json")

    parser.add_argument("--input",
                        help="A directory of multiple (Rfam2RNAcentral.pl) dump files",
                        action="store")
    parser.add_argument("--rfam-fasta",
                        help="The directory of fasta_files of the current Rfam release",
                        action="store")
    parser.add_argument("--outdir", help='Output directory', action="store", default=None)

    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("Tool to convert rnacentral export to json")
    parser.add_argument("--input",
                        help="A directory of multiple (Rfam2RNAcentral.pl) dump files",
                        action="store")
    parser.add_argument("--rfam-fasta",
                        help="The directory of fasta_files of the current Rfam release",
                        action="store")
    parser.add_argument("--outdir", help='Output directory', action="store", default=None)
    return parser
def parse_arguments ( ) : parser = argparse . ArgumentParser ( "Tool to convert rnacentral export to json" ) parser . add_argument ( "--input" , help = "A directory of multiple (Rfam2RNAcentral.pl) dump files" , action = "store" ) parser . add_argument ( "--rfam-fasta" , help = "The directory of fasta_files of the current Rfam release" , action = "store" ) parser . add_argument ( "--outdir" , help = 'Output directory' , action = "store" , default = None ) 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
    """