This is the [pax-db.org][http://pax-db.org] species storage microservice.
All versions are <major>.<minor>.<patch>
, where major and minor follow
pax-db.org versions.
MIT. See "LICENSE.txt".
node --max-old-space-size=4096 build.js
To create the image paxdb/api-species
, execute the following command:
$ docker build -t paxdb/api-species .
$ docker run --restart=always -P -d --name paxdb_api_species paxdb/api-species
The process of updating to a new version is as follows:
- update ./data/abundances (computed by data-pipeline)
- update lib/cladogram.js
- update ./data/orthgroups (IMPORTANT! Should include no extra taxonomic levels than required by cladogram.js)
- update ./data/eggnog5_genome_linkout.txt (linkout to ensembl when available, otherwise to ncbi taxon browser)
- update ./data/paxdb_uniprot_linkins_ids.tsv (generated from "BLAST_UniProt_ID" terms from STRING v11.5 protein alias file)
- increment PAYLOAD_VERSION and update connectionString in build.js, then run it to generate lib/species.js, lib/dataset and lib/proteins