Usage
Using as a command line interface¶
This is the main intention of BGCFlow wrapper usage.
Overview¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20  |  | 
Typical Usage¶
- 
The first step of using BGCFlow wrapper is to get a copy (or clone) of the main BGCFlow Snakemake workflow.
1 2
# get a clone of BGCFlow in your local machine bgcflow clone MY_BGCFLOW_PATH #change PATH accordingly - 
Then, initiate a project config by:
1 2
# initiate an example config and projects from template bgcflow init --bgcflow_dir MY_BGCFLOW_PATHThis will generate a file called
config.yamlin theconfig/folder inside the cloned BGCFlow directory - 
Once the config files are set, we can do a snakemake dry-run:
1 2
# do a dry-run bgcflow run -n --bgcflow_dir MY_BGCFLOW_PATHWhile the workflow is running, the command automatically serve
Panoptes-UIatlocalhost:5000` to monitor jobs. - 
To find out all the rules that can be added in the configuration file, do:
1 2
# find out available rules bgcflow rules --bgcflow_dir MY_BGCFLOW_PATH - 
To get more details about each individual rules, do:
1 2
# get description of a rule bgcflow rules --describe antismash --bgcflow_dir MY_BGCFLOW_PATH/ - 
To find out how to cite each rules, do:
1 2
# get citation of a rule bgcflow rules --cite antismash --bgcflow_dir MY_BGCFLOW_PATH/ 
Using as a python library¶
You can also generate new projects via python or Jupyter notebooks:
1 2 3 4 5 6 7 8 9 10 11 12 13 14  |  |