scripts/preprocessing/desc_generator.py
def parse_arguments():
    """
    Basic argument parsing using python's argparse

    return: Argparse parser object
    """

    parser = argparse.ArgumentParser("Generates a DESC template for a new family")
    parser.add_argument("--input", help="miRBase directory with rfsearch results",
                      action="store", default=None)
    parser.add_argument("--outdir", help="Path to the output directory", action="store",
                      default=None)
    parser.add_argument("--ga-author", help="Name and orcid of gathering threshold author (e.g. Edwards BA; ORCID)",
                        action="store", default=None)
    parser.add_argument("--wiki-links", help="File with family/wiki link mappings", action="store", default=None)
    parser.add_argument("-f", help="a list of accessions to generate DESC files for", action="store", default=None)
    parser.add_argument("--label", help="label to be used for the generation of the DESC file", action='store', default=None)
    parser.add_argument("--no-ref", help="Skips references in DESC file", 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("Generates a DESC template for a new family")
    parser.add_argument("--input", help="miRBase directory with rfsearch results",
                      action="store", default=None)
    parser.add_argument("--outdir", help="Path to the output directory", action="store",
                      default=None)
    parser.add_argument("--ga-author", help="Name and orcid of gathering threshold author (e.g. Edwards BA; ORCID)",
                        action="store", default=None)
    parser.add_argument("--wiki-links", help="File with family/wiki link mappings", action="store", default=None)
    parser.add_argument("-f", help="a list of accessions to generate DESC files for", action="store", default=None)
    parser.add_argument("--label", help="label to be used for the generation of the DESC file", action='store', default=None)
    parser.add_argument("--no-ref", help="Skips references in DESC file", action="store_true", default=False)
    return parser
def parse_arguments ( ) : parser = argparse . ArgumentParser ( "Generates a DESC template for a new family" ) parser . add_argument ( "--input" , help = "miRBase directory with rfsearch results" , action = "store" , default = None ) parser . add_argument ( "--outdir" , help = "Path to the output directory" , action = "store" , default = None ) parser . add_argument ( "--ga-author" , help = "Name and orcid of gathering threshold author (e.g. Edwards BA; ORCID)" , action = "store" , default = None ) parser . add_argument ( "--wiki-links" , help = "File with family/wiki link mappings" , action = "store" , default = None ) parser . add_argument ( "-f" , help = "a list of accessions to generate DESC files for" , action = "store" , default = None ) parser . add_argument ( "--label" , help = "label to be used for the generation of the DESC file" , action = 'store' , default = None ) parser . add_argument ( "--no-ref" , help = "Skips references in DESC file" , 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
    """