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.0.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.0-py3-none-any.whl (6.9 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pybrave-0.2.0.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.0.tar.gz
Algorithm Hash digest
SHA256 9bf33cd2c67c0d97d99761735b2c11462ce10fea8453cee624a67752c1f375d5
MD5 c79f92c89a17ec104b0f0376d65290c7
BLAKE2b-256 614adf7db8b294ed1ee1b6ac081f43a890c9984dbece663cbdebcdc48ada5e81

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pybrave-0.2.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f4ad285925d4fe76e9fa466ff104e53faee52e0af71f397adc75df3838977ecb
MD5 26d38dc2a9e641dacbdf109d03f80ba3
BLAKE2b-256 2704adaf84c46919ef7ebd7a09feb1823b0a208d43fe41b5c8147ab7e6e44a62

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