|
a |
|
b/src/README.md |
|
|
1 |
# ISMB Tutorial |
|
|
2 |
|
|
|
3 |
## Getting Started |
|
|
4 |
|
|
|
5 |
### Prerequisites |
|
|
6 |
1. Create the environment from the `env.txt` file: |
|
|
7 |
``` |
|
|
8 |
conda create -n "QML" |
|
|
9 |
pip install -r env.txt |
|
|
10 |
``` |
|
|
11 |
* Note: if you receive the error `bash: conda: command not found...`, you need to install Anaconda to your development environment (see "Additional resources" below) |
|
|
12 |
2. Activate the new environment: |
|
|
13 |
``` |
|
|
14 |
conda activate QML |
|
|
15 |
``` |
|
|
16 |
3. Verify that the new environment was installed correctly: |
|
|
17 |
``` |
|
|
18 |
conda env list |
|
|
19 |
``` |
|
|
20 |
<!-- * Additional resources: |
|
|
21 |
* [Connect to computing cluster](http://ccc.pok.ibm.com:1313/gettingstarted/newusers/connecting/) |
|
|
22 |
* [Set up / install Anaconda on remote linux server](https://kengchichang.com/post/conda-linux/) |
|
|
23 |
* [Set up remote development environment using VSCode](https://code.visualstudio.com/docs/remote/ssh) --> |
|
|
24 |
|
|
|
25 |
<a name="running_comical"></a> |
|
|
26 |
<!-- ### Running QML --> |
|
|
27 |
|
|
|
28 |
<!-- [![Notebook Template][notebook]](#running_comical) --> |
|
|
29 |
|
|
|
30 |
<!-- 1. Request resources from computing cluster: |
|
|
31 |
``` |
|
|
32 |
jbsub -cores 2+1 -q x86_1h -mem 5g -interactive bash |
|
|
33 |
``` |
|
|
34 |
OR |
|
|
35 |
Submit your job without the interactive session (shown later). --> |
|
|
36 |
|
|
|
37 |
<!-- 2. Activate the new environment: |
|
|
38 |
``` |
|
|
39 |
conda activate QML |
|
|
40 |
``` --> |
|
|
41 |
4. Run QML pipeline: |
|
|
42 |
``` |
|
|
43 |
python main.py --file your_file -e 50 -i 10 -p 5 -cv 5 |
|
|
44 |
``` |
|
|
45 |
|
|
|
46 |
|
|
|
47 |
### Help |
|
|
48 |
``` |
|
|
49 |
python main.py --help |
|
|
50 |
``` |
|
|
51 |
|
|
|
52 |
## Authors |
|
|
53 |
|
|
|
54 |
Contributors and contact info: |
|
|
55 |
|
|
|
56 |
* Aritra Bose (a.bose@ibm.com) |