Mercurial > repos > tduigou > sbol_converter
comparison README.md @ 1:529ee7dc1be9 draft
planemo upload commit a452ea11b96167cb1a683a1e9eea01a62840e547
author | tduigou |
---|---|
date | Tue, 18 Apr 2023 07:51:41 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:38a0feb2e79d | 1:529ee7dc1be9 |
---|---|
1 # sbol-converter -- Convert between SBOL3 and other genetic design formats. | |
2 | |
3 The open-source software package sbol-converter is available here : https://github.com/SynBioDex/SBOL-utilities | |
4 | |
5 ## How to run sbol-converter wrapper tests | |
6 | |
7 In order to execute tests on sbol-converter wrapper, you need to: | |
8 | |
9 - Connect to your galaxy instance in interactive mode: | |
10 | |
11 ```bash | |
12 docker exec -it -u root galaxy_galaxy_1 bash | |
13 ``` | |
14 - Copy all the contents of `test-data` folder into your own test-data directory which is located in your local galaxy instance : `/galaxy/test-data`. It contains all the input files and expected output files needed for the tests. | |
15 | |
16 - Install Planemo: | |
17 You can see here the documentation for Planemo Installation : https://planemo.readthedocs.io/en/latest/installation.html | |
18 Note that they recommand to install Planemo by setting up a virtual environment: | |
19 | |
20 ```bash | |
21 python3 -m venv planemo | |
22 . planemo/bin/activate | |
23 pip install -U planemo | |
24 ``` | |
25 | |
26 - run the tests: | |
27 | |
28 ```bash | |
29 planemo test --conda_channels conda-forge,bioconda --conda_debug tools/synbiocad-galaxy-wrappers/sbol-converter/wrap.xml | |
30 ``` | |
31 | |
32 You can also specify your data test directory with the following option: `--test_data DIRECTORY_DATA_TEST` | |
33 | |
34 IMPORTANT: Maybe you will need to remove CONDA from your PATH for the command `planemo test` to run correctly. To do that, you can edit this file `~/.bashrc`, comment this line `PATH="/root/anaconda3/bin:$PATH"` and save changes. | |
35 | |
36 Planemo will output an html test summary `tool_test_output.html`. |