Skip to main content

Bioinformatics Reactive Analysis and Visualization Engine

Project description

brave

Bioinformatics Reactive Analysis and Visualization Engine

Package version

Installation

pip install pybrave

Usage

brave

install pipeline

git clone https://github.com/pybrave/pipeline-metagenomics.git ~/.brave/pipeline/7530139e-8985-423f-9fb6-32650828ca40

brave --base-dir /ssd1/wy/workspace2/nextflow_workspace \
    --work-dir /data/wangyang/nf_work \
    --pipeline-dir /ssd1/wy/workspace2/nextflow-fastapi/pipeline-dev \
    --literature-dir /ssd1/wy/workspace2/nextflow-fastapi/literature \
    --db-type mysql --mysql-url root:123456@192.168.3.60:53306/pipeline  \
    --port 5000

docker

mkdir $PWD/data
docker run --rm -p 5000:5000  \
  --user $(id -u):$(id -g) \
  -v  /var/run/docker.sock:/var/run/docker.sock  \
  -v /tmp/brave.sock:/tmp/brave.sock \
  -v $PWD/data:/.brave \
  registry.cn-hangzhou.aliyuncs.com/wybioinfo/pybrave

git clone https://github.com/pybrave/pipeline-metagenomics.git  $PWD/data/pipeline/7530139e-8985-423f-9fb6-32650828ca40
docker run --rm -p 5000:5000  \
  --user $(id -u):$(id -g) \
 --group-add $(stat -c '%g' /var/run/docker.sock) \
  -v  /var/run/docker.sock:/var/run/docker.sock  \
  -v /tmp/brave.sock:/tmp/brave.sock \
  -v ~/.brave:/.brave \
  -v /ssd1:/ssd1 \
  -v /data:/data \
  registry.cn-hangzhou.aliyuncs.com/wybioinfo/pybrave \
  brave --pipeline-dir /ssd1/wy/workspace2/nextflow-fastapi/pipeline-dev \
  --base-dir /ssd1/wy/workspace2/nextflow_workspace \
  --work-dir /data/wangyang/nf_work \
  --literature-dir /ssd1/wy/workspace2/nextflow-fastapi/literature \
  --db-type mysql \
  --mysql-url root:123456@192.168.3.60:53306/pipeline \
  --port 5000 

development

mkdir -p development/pipeline-dev
mkdir -p development/base-dev 
python  -m brave \
   --port 5000 \
   --pipeline-dir development/pipeline-dev \
   --base-dir development/base-dev 
git clone https://github.com/pybrave/pipeline-metagenomics.git  development/pipeline-dev/7530139e-8985-423f-9fb6-32650828ca40
docker network create traefik_proxy

docker run  \
  -p 8089:80 \
  -p 8087:8080 \
   --network traefik_proxy \
  -v $PWD/traefik.yml:/etc/traefik/traefik.yml \
  -v /var/run/docker.sock:/var/run/docker.sock \
  registry.cn-hangzhou.aliyuncs.com/wybioinfo/traefik:v3.5  


docker run  \
  -p 8089:80 \
  -p 8087:8080 \
   --network traefik_proxy \
  -v /var/run/docker.sock:/var/run/docker.sock \
  registry.cn-hangzhou.aliyuncs.com/wybioinfo/traefik:v3.5  \
  --api.insecure=true \
  --providers.docker=true \
  --log.level=DEBUG \
  --entrypoints.web.address=:80 

autossh -v  -N -R 5003:localhost:8089 master 
docker run --rm   \
  --name jupyter \
  --network traefik_proxy \
  -e NB_UID=$(id -u) \
  --label "traefik.enable=true" \
  --label 'traefik.http.routers.jupyter.rule=PathPrefix(`/jupyter`)' \
  --label "traefik.http.routers.jupyter.entrypoints=web" \
  --label "traefik.http.services.jupyter.loadbalancer.server.port=8888" \
    registry.cn-hangzhou.aliyuncs.com/wybioinfo/datascience-notebook:x86_64-ubuntu-22.04  \
    start.sh \
    jupyter notebook    --NotebookApp.password='' --NotebookApp.token='' --NotebookApp.base_url='/jupyter' 
docker run --rm   \
  --name rstudio \
  --network traefik_proxy \
  -e USERID=$(id -u) \
  -e DISABLE_AUTH=true \
  --label "traefik.enable=true" \
  --label 'traefik.http.routers.rstudio.rule=PathPrefix(`/rstudio`)' \
  --label "traefik.http.routers.rstudio.entrypoints=web" \
  --label "traefik.http.services.rstudio.loadbalancer.server.port=8787" \
  --label "traefik.http.middlewares.rstudio-strip.stripPrefix.prefixes=/rstudio" \
  --label "traefik.http.middlewares.rstudio-strip.stripPrefix.forceSlash=false" \
  --label "traefik.http.middlewares.rstudio-server-root-path-header.headers.customrequestheaders.X-RStudio-Root-Path=/rstudio" \
  --label "traefik.http.routers.rstudio.middlewares=rstudio-strip,rstudio-server-root-path-header" \
  registry.cn-hangzhou.aliyuncs.com/wybioinfo/maaslin2:1.22 /init 
docker run --rm -d \
    --publish=7474:7474 --publish=7687:7687 \
    --env=NEO4J_AUTH=none \
    --volume=$HOME/neo4j/data:/data \
    neo4j

contact

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

pybrave-0.2.1.tar.gz (6.7 MB view details)

Uploaded Source

Built Distribution

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

pybrave-0.2.1-py3-none-any.whl (6.9 MB view details)

Uploaded Python 3

File details

Details for the file pybrave-0.2.1.tar.gz.

File metadata

  • Download URL: pybrave-0.2.1.tar.gz
  • Upload date:
  • Size: 6.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.13

File hashes

Hashes for pybrave-0.2.1.tar.gz
Algorithm Hash digest
SHA256 1f822c2ca7c98d3dff64b7f3591e67b4377224a7166a6b03cf66fefc357a0c31
MD5 aa52d2f59f3518fc0f53d7ccbfef301e
BLAKE2b-256 4fee4f6ceb000d0494d8db71cc160be01282f882162b2b5a29ee6cc6eb695029

See more details on using hashes here.

File details

Details for the file pybrave-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: pybrave-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 6.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.13

File hashes

Hashes for pybrave-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bc4c939bf923c3e1688aa0f6478b6bdf933730d30429cad38d7e7374780796d0
MD5 2a506289ddfd9dd0b4316f0737e6ce0b
BLAKE2b-256 213c817631ceaedd2f8ad4c32d1b930d0c4ce2714a6c4098dae0cb829bb58f8f

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