Showing
1 changed file
with
7 additions
and
4 deletions
... | @@ -47,16 +47,19 @@ Use the following command to run the docker image: | ... | @@ -47,16 +47,19 @@ Use the following command to run the docker image: |
47 | ``` | 47 | ``` |
48 | $ docker run | 48 | $ docker run |
49 | -v `pwd`/data/modules:/modules | 49 | -v `pwd`/data/modules:/modules |
50 | +-v `pwd`/data/fasta:/biorseo/data/fasta | ||
50 | -v `pwd`/BayesPairing/bayespairing:/byp | 51 | -v `pwd`/BayesPairing/bayespairing:/byp |
51 | -v `pwd`/results:/biorseo/results | 52 | -v `pwd`/results:/biorseo/results |
52 | -biorseo | 53 | +persalteas/biorseo |
53 | yourexamplejobcommandhere | 54 | yourexamplejobcommandhere |
54 | ``` | 55 | ``` |
55 | -You can replace \`pwd\` by the full path of the biorseo/ root folder. Here we launch the biorseo image with 3 volumes : A first to give BiORSEO access to the module files, a second to give it access to your trained BayesPairing, and a third for it to output the result files of your job. An example job command can be ` ./biorseo.py -i /biorseo/data/fasta/applications.fa --rna3dmotifs --patternmatch --func B`, so the full run command would be | 56 | +You can replace \`pwd\` by the full path of the biorseo/ root folder. Here we launch the biorseo image with 4 volumes : A first to give BiORSEO access to the module files, a second to give it access to your input file(s), a third for your trained BayesPairing, and a last for it to output the result files of your job. An example job command can be ` ./biorseo.py -i /biorseo/data/fasta/applications.fa --rna3dmotifs --patternmatch --func B`, so the full run command would be |
56 | ``` | 57 | ``` |
57 | -$ docker run -v `pwd`/data/modules:/modules -v `pwd`/BayesPairing/bayespairing:/byp -v `pwd`/results:/biorseo/results biorseo ./biorseo.py -i /biorseo/data/fasta/applications.fa --rna3dmotifs --patternmatch --func B | 58 | +$ docker run -v `pwd`/data/modules:/modules -v `pwd`/data/fasta:/biorseo/data/fasta -v `pwd`/BayesPairing/bayespairing:/byp -v `pwd`/results:/biorseo/results persalteas/biorseo ./biorseo.py -i /biorseo/data/fasta/applications.fa --rna3dmotifs --patternmatch --func B |
58 | ``` | 59 | ``` |
59 | 60 | ||
61 | +Note that the paths to the input and output files are paths *inside the Docker container*, and those paths are mounted to folders of the host machine with -v options. | ||
62 | + | ||
60 | Option 2 : Compile and Install from source (without docker, Linux only) | 63 | Option 2 : Compile and Install from source (without docker, Linux only) |
61 | ================================== | 64 | ================================== |
62 | 65 | ||
... | @@ -139,7 +142,7 @@ This is a quite long step, but the bayesian networks will be ready for all the f | ... | @@ -139,7 +142,7 @@ This is a quite long step, but the bayesian networks will be ready for all the f |
139 | Now you can run biorseo.py, but, as you are not into the Docker environment, you MUST provide the options to tell it the jar3d or BayesPairing locations, for example: | 142 | Now you can run biorseo.py, but, as you are not into the Docker environment, you MUST provide the options to tell it the jar3d or BayesPairing locations, for example: |
140 | ``` | 143 | ``` |
141 | $ ./biorseo.py | 144 | $ ./biorseo.py |
142 | --i /biorseo/data/fasta/applications.fa | 145 | +-i ./data/fasta/applications.fa |
143 | -O ./results/ | 146 | -O ./results/ |
144 | --rna3dmotifs --patternmatch --func B | 147 | --rna3dmotifs --patternmatch --func B |
145 | --biorseodir /FULL/path/to/the/root/biorseo/dir | 148 | --biorseodir /FULL/path/to/the/root/biorseo/dir | ... | ... |
-
Please register or login to post a comment