Skip to content

feat: add defense-finder subworkflow#292

Open
matinnuhamunada wants to merge 2 commits intomainfrom
defense-finder
Open

feat: add defense-finder subworkflow#292
matinnuhamunada wants to merge 2 commits intomainfrom
defense-finder

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

Comments