Skip to content

Commit 150f3bd

Browse files
committed
adjusted the readme
1 parent ee02bde commit 150f3bd

File tree

1 file changed

+20
-7
lines changed

1 file changed

+20
-7
lines changed

README.md

+20-7
Original file line numberDiff line numberDiff line change
@@ -46,33 +46,46 @@ git submodule update --init --recursive
4646

4747
## Configure your environment
4848

49+
### Make sure you are in the `docker` group
50+
51+
```bash
52+
usermod -aG docker <username>
53+
```
54+
4955
### Make the `seqrepo` database available locally
5056

5157
```bash
58+
sudo mkdir -m 777 -p /usr/local/share/seqrepo
5259
cd seqrepo
5360
make
5461
```
5562

56-
### Download the harvester resources
57-
58-
To download the harvester resources you need to have an access token to onkokb as well as for bioontology.
63+
### Create a `.env` file from the template
5964

6065
```bash
61-
cd g2p-aggregator/data
62-
make
66+
cp .env.TEMPLATE .env
6367
```
6468

65-
Also add the access tokens to your `.env` file.
69+
### Set proper values in your `.env` file.
6670

6771
```bash
72+
...
6873
BIOONTOLOGY_API_KEY=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
6974
ONCOKB_API_KEY=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
7075
```
7176

72-
### Populate the VEP cache
77+
### Download the harvester resources
78+
79+
To download the harvester resources you need to have an access token to onkokb as well as for bioontology.
7380

7481
```bash
7582
./dc_harvester.sh build harvester
83+
./dc_harvester.sh run --rm harvester /bin/sh -c 'cd /data; make'
84+
```
85+
86+
### Populate the VEP cache
87+
88+
```bash
7689
./dc_harvester.sh run --rm harvester /bin/sh -c 'scripts/populate_vep_cache.sh'
7790
```
7891

0 commit comments

Comments
 (0)