|
|
|
[[_TOC_]]
|
|
|
|
|
|
|
|
# Creating the database
|
|
|
|
|
|
|
|
To create new entries, everything goes through the API using the `/api/admin_db` route.
|
|
|
|
|
|
|
|
## 🐤 Create and Populate Test DB
|
|
|
|
|
|
|
|
You can create a test database using the API directly and some test files available on the repository.
|
| ... | ... | @@ -23,6 +27,13 @@ poetry run create_test_db |
|
|
|
|
|
|
|
## 🐔 Populate DB with real data
|
|
|
|
|
|
|
|
Title | route | input path
|
|
|
|
----- | ----- | ----------
|
|
|
|
Create KEGG database | `/api/admin_db/create_kegg_ko` | no input file necessary, process is quick for all KEGG KO.
|
|
|
|
NCBI taxonomy | `/api/admin_db/create_ncbi_taxonomy` | `https://ftp.ncbi.nih.gov/pub/taxonomy/taxdump.tar.gz`
|
|
|
|
NCBI taxonomy hierarchy | `/api/admin_db/generate_ncbi_taxonomy_hierarchy` | No file necessary, based on existing db
|
|
|
|
Genes | `/api/admin_db/create_genes` | Link to your fasta file
|
|
|
|
|
|
|
|
## 📂 Empty DB
|
|
|
|
|
|
|
|
```bash
|
| ... | ... | |
| ... | ... | |