goatools.cli.ncbi_gene_results_to_python module¶
Read a NCBI Gene gene_result.txt file and write a Python module
- goatools.cli.ncbi_gene_results_to_python.ncbi_tsv_to_py(fin_tsv, fout_py=None, prt=stdout)[source]¶
Read a NCBI Gene file. Write data into one Python module per gene file
- class goatools.cli.ncbi_gene_results_to_python.NCBIgeneToPythonCli[source]¶
Bases:
objectRead a NCBI Gene gene_result.txt file and write a Python module.
- argparser = ArgumentParser(prog='goatools ncbi_gene_results_to_python', usage=None, description='Convert a NCBI gene tsv file into a Python module', formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True)¶
- cli(args=None, prt=stdout)[source]¶
Command-line interface to print specified GO Terms from the DAG source .
- tsv_to_py(fin_tsv, fout_py=None, prt=stdout)[source]¶
Read each NCBI Gene files. Write data into one Python module per gene file
- tsv_to_py_each(fin_tsvs, fout_py=None, prt=stdout)[source]¶
Read each NCBI Gene files. Write data into one Python module per gene file