Skip to main content

BioNexus facilitates cross-modal retrieval between natural products and biosynthetic gene clusters

Project description

BioNexus

Setting up database

  1. Copy .env.example -> .env and adjust

  2. Start Postgres + Adminer:

    docker-compose up -d db adminer
    

    Adminer available at http://localhost:8080 (server: db, user: bionexus, db: bionexus)

  3. (Optional) Create local env using conda:

    conda create -n bionexus python=3.10
    conda activate bionexus
    pip install -e .[dev]
    
  4. Create/upgrade schema:

    bionexus upgrade head
    
  5. Load data:

    RetroMol and BioCracker results can be loaded with the load command. For more information, run:

    bionexus load --help
    

    Examples of scripts that extract annotations and references from RetroMol and BioCracker can be found in the scripts/ folder.

  6. Dump for deployoment:

    Make sure the database is running in Docker, then:

    bionexus dump --out ~/Downloads/dumps/bionexus_$(date +%Y%m%d).dump
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bionexus-0.1.0.tar.gz (21.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bionexus-0.1.0-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file bionexus-0.1.0.tar.gz.

File metadata

  • Download URL: bionexus-0.1.0.tar.gz
  • Upload date:
  • Size: 21.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for bionexus-0.1.0.tar.gz
Algorithm Hash digest
SHA256 037eedc3523d14cece648e0d5c7db1f4f7629b240ade7521dc0623252f42d403
MD5 8d15572579f6e2e2e2a1fd487483fd60
BLAKE2b-256 21a2a4fdbba13bfdb32080ffcf745932b85c497fc8c967f88bd0f66493f12fce

See more details on using hashes here.

File details

Details for the file bionexus-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: bionexus-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for bionexus-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d0f185141a8251f1a3ddc39cc72ed658e273e5ab5b453f40e252561b8add9e6e
MD5 9a5c07be2afedbe90b69ecb61a516858
BLAKE2b-256 f9693498de52aa85f624cd0f23f79855b6dbbe6ea49685498ba92020160d8f62

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page