Skip to content
Snippets Groups Projects
Commit bfcb4817 authored by Loraine Gueguen's avatar Loraine Gueguen
Browse files

Merge branch 'sync_in_wf' into 'dev'

Update README

See merge request !26
parents 678d17d7 67fcff2c
No related branches found
No related tags found
2 merge requests!26Update README,!18Release v2.1.0
...@@ -52,7 +52,8 @@ The "gga_load_data" tools are composed of 4 scripts: ...@@ -52,7 +52,8 @@ The "gga_load_data" tools are composed of 4 scripts:
- gga_init: Create directory tree for organisms and deploy stacks for the input organisms as well as Traefik and optionally Authelia stacks - gga_init: Create directory tree for organisms and deploy stacks for the input organisms as well as Traefik and optionally Authelia stacks
- gga_get_data: Create `src_data` directory tree for organisms and copy datasets for the input organisms into `src_data` - gga_get_data: Create `src_data` directory tree for organisms and copy datasets for the input organisms into `src_data`
- gga_load_data: Load the datasets of the input organisms into their Galaxy library - gga_load_data: Load the datasets of the input organisms into their Galaxy library
- run_workflow_phaeoexplorer: Remotely run a custom workflow in Galaxy, proposed as an "example script" to take inspiration from as workflow parameters are specific to the [Phaeoexplorer](https://phaeoexplorer.sb-roscoff.fr) data - gga_run_workflow_phaeo*: Multiple scripts to run custom workflows in Galaxy, proposed as "example scripts" to take inspiration from
as workflow parameters are specific to the [Phaeoexplorer](https://phaeoexplorer.sb-roscoff.fr) data
## Usage: ## Usage:
...@@ -68,31 +69,37 @@ in the `examples` folder. ...@@ -68,31 +69,37 @@ in the `examples` folder.
- Deploy stacks part: - Deploy stacks part:
```bash ```bash
$ python3 /path/to/repo/gga_init.py input_file.yml -c/--config config_file.yml [-v/--verbose] [OPTIONS] $ python3 /path/to/repo/gga_init.py input_file.yml \
--main-directory $PATH (Path where to create/update stacks; default=current directory) -c/--config config_file.yml \
--force-traefik (If specified, will overwrite traefik and authelia files; default=False) --main-directory $PATH (Path where to create/update stacks; default=current directory) \
--force-traefik (If specified, will overwrite traefik and authelia files; default=False) \
[-v/--verbose]
``` ```
- Copy source data file: - Copy source data file:
```bash ```bash
$ python3 /path/to/repo/gga_get_data.py input_file.yml [-v/--verbose] [OPTIONS] $ python3 /path/to/repo/gga_get_data.py input_file.yml \
--main-directory $PATH (Path where to access stacks; default=current directory) --main-directory $PATH (Path where to access stacks; default=current directory) \
[-v/--verbose]
``` ```
- Load data in Galaxy library and prepare Galaxy instance: - Load data in Galaxy library and prepare Galaxy instance:
```bash ```bash
$ python3 /path/to/repo/gga_load_data.py input_file.yml -c/--config config_file.yml [-v/--verbose] $ python3 /path/to/repo/gga_load_data.py input_file.yml \
--main-directory $PATH (Path where to access stacks; default=current directory) -c/--config config_file.yml \
--main-directory $PATH (Path where to access stacks; default=current directory)\
[-v/--verbose]
``` ```
- Run a workflow in galaxy: - Run a workflow in galaxy (example):
```bash ```bash
$ python3 /path/to/repo/run_workflow_phaeoexplorer.py input_file.yml -c/--config config_file --workflow workflow_type [-v/--verbose] [OPTIONS] $ python3 /path/to/repo/gga_run_workflow_phaeo_jbrowse.py input_file.yml \
--workflow (Valid options: "chado_load_fasta_gff_jbrowse", "blast", "interpro", preset workflows are available in the "workflows_phaeoexplorer" directory) -c/--config config_file \
--main-directory $PATH (Path where to access stacks; default=current directory) --main-directory $PATH (Path where to access stacks; default=current directory) \
[-v/--verbose]
``` ```
The data loading into Galaxy with `gga_load_data.py` should be run only once the Galaxy service deployed with `gga_init.py` is ready. The data loading into Galaxy with `gga_load_data.py` should be run only once the Galaxy service deployed with `gga_init.py` is ready.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment