diff --git a/docs/index.md b/docs/index.md index 715479f..c5ac4d4 100644 --- a/docs/index.md +++ b/docs/index.md @@ -43,8 +43,8 @@ docker pull gregdenay/taxidtools With the [NCBI's taxdump files](https://ftp.ncbi.nlm.nih.gov/pub/taxonomy/new_taxdump/) installed locally: ``` py ->>> import taxidTools as txd ->>> ncbi = txd.read_taxdump('nodes.dmp', 'rankedlineage.dmp', 'merged.dmp') +>>> import taxidTools +>>> tax = taxidTools.read_taxdump('nodes.dmp', 'rankedlineage.dmp', 'merged.dmp') >>> tax.getName('9606') 'Homo sapiens' >>> lineage = tax.getAncestry('9606') @@ -60,4 +60,4 @@ With the [NCBI's taxdump files](https://ftp.ncbi.nlm.nih.gov/pub/taxonomy/new_ta ## Cite us If you use taxidTools for your reasearch, you can cite it using the -DOI at the top of this page. \ No newline at end of file +DOI at the top of this page.