Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
metagenedb
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Metagenomics
metagenedb
Wiki
Django scripts
Changes
Page history
New page
Templates
Clone repository
Update Django scripts
authored
4 years ago
by
Kenzo-Hugo Hillion
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Django-scripts.md
+51
-0
51 additions, 0 deletions
Django-scripts.md
with
51 additions
and
0 deletions
Django-scripts.md
View page @
45097d06
...
...
@@ -8,6 +8,57 @@ In this section, you will find a list of homemade commands available through `ma
*The following list might not correspond exactly to the scripts available. We recommend to go through the help section of the `manage.py` command.*
To run a script, in the backend docker container or in a custom python env:
```
manage.py your_script
manage.py help your_script # Display instructions
```
### Pre-build scripts from Django
For all scripts from Django, Please refer to the
[
original documentation
](
https://docs.djangoproject.com/en/3.1/ref/django-admin/
)
.
### Custom scripts
#### Test DB
*
create_light_db
#### Populate the database
##### Import annotations
###### KEGG
*
create_update_kegg_ko
###### EggNOG
*
create_update_eggnog
*
create_eggnog_functional_cat
###### Taxonomy
*
build_hierarchy
##### Import genes
###### General rules
###### IGC
*
import_igc_annotation
*
import_igc_sequences
###### Virgo
*
import_virgo_eggnog
*
import_virgo_genes
*
import_virgo_kegg
*
import_virgo_sequences
*
import_virgo_taxonomy
#### Pre computed metrics
*
compute_stats
This diff is collapsed.
Click to expand it.