Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add defense-finder subworkflow #292

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

matinnuhamunada
Copy link
Collaborator

@matinnuhamunada matinnuhamunada commented Oct 9, 2023

Hi @ChMaWh, here is the first draft of defense-finder subworkflow:

Usage:

  1. Create a conda environment and install the BGCFlow python wrapper :
# create and activate a new conda environment
conda create -n bgcflow -c conda-forge python=3.11 pip openjdk -y
conda activate bgcflow

# install `BGCFlow` wrapper
pip install git+https://github.com/NBChub/bgcflow_wrapper.git

# make sure to use bgcflow_wrapper version >= 0.2.7
bgcflow --version
  1. Deploy BGCFlow, change your_bgcflow_directory variable accordingly:
# Deploy and run BGCFlow
bgcflow clone <your_bgcflow_directory> # clone `BGCFlow` to your_bgcflow_directory
cd <your_bgcflow_directory> # move to BGCFLOW_PATH
bgcflow init # initiate `BGCFlow` config and examples from template
  1. Checkout to defense-finder branch:
git checkout defense-finder
bgcflow run --workflow workflow/defense-finder -n
  1. To run it, remove the -n flag, and maybe define the number or cores to use:
bgcflow run --workflow workflow/defense-finder -c 8 #adjust the number of cores to use
  1. Right now, the output is still located in data/interim/defense-finder

  2. Modify your sample file in the config folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant