Galaxy workflow converter: Difference between revisions
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
## <code>. env/bin/activate</code> | ## <code>. env/bin/activate</code> | ||
## <code>pip install -r requirements.txt</code> | ## <code>pip install -r requirements.txt</code> | ||
## <code>python bcotool/bco_runner.py validate -b [path to the converted file]</code> (Note: if only run <code>python bcotool/bco_runner.py</code>, more options can be seen.) If passed validation should show as the figure below [[File:Screen Shot 2022-11-09 at 16.38.10.png| | ## <code>python bcotool/bco_runner.py validate -b [path to the converted file]</code> (Note: if only run <code>python bcotool/bco_runner.py</code>, more options can be seen.) If passed validation should show as the figure below [[File:Screen Shot 2022-11-09 at 16.38.10.png|800px|thumb|center]] | ||
## If they encountered errors, will show below | ## If they encountered errors, will show below |
Revision as of 17:38, 10 November 2022
Workflows can be directly downloaded from Galaxy but file conversion is needed in order to transfer into BCODB successfully. Please follow the following steps to convert the file and validation:
File conversion
- Download the converter script from GitHub.
- On the local terminal, run the following command
python [converter script's name.py] -b [path to the file that needs to be converted] -o [path to the output file]
Validation
- Install Validation Package:
- On the local terminal, clone the repository first by
git clone https://github.com/biocompute-objects/bcotool
cd bcotool/
python -m venv env
. env/bin/activate
pip install -r requirements.txt
python bcotool/bco_runner.py validate -b [path to the converted file]
(Note: if only runpython bcotool/bco_runner.py
, more options can be seen.) If passed validation should show as the figure below- If they encountered errors, will show below
- On the local terminal, clone the repository first by