INNER CODE UNIT · Python
get_iso_date
BortonWrightonLabs/DRAM · bin/format_kegg_database.py:141
def get_iso_date():
return datetime.today().strftime("%Y%m%d")
def main():
parser = argparse.ArgumentParser(description="Prepare KEGG database")
parser.add_argument("--kegg_loc", type=str, help="Path to the KEGG fasta file")
parser.add_argument(
"--gene_ko_link_loc", type=str, help="Path to the gene KO link file"
)
parser.add_argument(
"--skip_gene_ko_link",
action="store_true",
help="Skip gene KO link processing. If not passed in, `--gene_ko_link_loc` is required",
)
parser.add_argument(
"--output_dir", type=str, help="Path to the output directory", default="kegg"
)