Skip to content

Commit 1069aed

Browse files
Update README.md
1 parent 12f24bd commit 1069aed

1 file changed

Lines changed: 25 additions & 24 deletions

File tree

README.md

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -57,30 +57,6 @@ sudo apt install build-essential cmake libboost-dev libboost-serialization-dev l
5757
pip3 install click
5858
```
5959

60-
## Quick test
61-
62-
Once you installed EPIK and activated your virtual environment with `conda activate epik` or `pixi shell`, run:
63-
64-
```
65-
# get some test alignment and tree
66-
wget https://github.com/phylo42/IPK/raw/refs/heads/main/tests/data/D652/reference.fasta
67-
wget https://github.com/phylo42/IPK/raw/refs/heads/main/tests/data/D652/tree.rooted.newick
68-
69-
# build database with IPK : using 1 CPU and default phylogenetic model parameters
70-
# a better approach would be to use appropriate parameters, see documentation
71-
ipk.py build --refalign reference.fasta --reftree tree.rooted.newick --states nucl --workdir . --model GTR
72-
73-
# place with EPIK
74-
epik.py place -i DB.ipk -s nucl -o . reference.fasta
75-
76-
# jplace results
77-
cat placements_reference.fasta.jplace
78-
79-
# you can do post-analyses with the excellent 'gappa' package
80-
# (available in bioconda too, see https://github.com/lczech/gappa)
81-
```
82-
83-
8460
### Clone and build
8561
```
8662
git clone --recursive https://github.com/phylo42/EPIK epik
@@ -106,6 +82,31 @@ export PATH=DIRECTORY/bin:$PATH
10682
Remember to export the `DIRECTORY/bin` to your `PATH`. You can do this manually each time or add the export command to your shell initialization scripts (e.g., `.bashrc`).
10783

10884

85+
## Quick test
86+
87+
Once you installed EPIK and activated your virtual environment with `conda activate epik` or `pixi shell`, run:
88+
89+
```
90+
# get some test alignment and tree
91+
wget https://github.com/phylo42/IPK/raw/refs/heads/main/tests/data/D652/reference.fasta
92+
wget https://github.com/phylo42/IPK/raw/refs/heads/main/tests/data/D652/tree.rooted.newick
93+
94+
# build database with IPK : using 1 CPU and default phylogenetic model parameters
95+
# a better approach would be to use appropriate parameters, see documentation
96+
ipk.py build --refalign reference.fasta --reftree tree.rooted.newick --states nucl --workdir . --model GTR
97+
98+
# place with EPIK
99+
epik.py place -i DB.ipk -s nucl -o . reference.fasta
100+
101+
# jplace results
102+
cat placements_reference.fasta.jplace
103+
104+
# you can do post-analyses with the excellent 'gappa' package
105+
# (available in bioconda too, see https://github.com/lczech/gappa)
106+
```
107+
108+
109+
109110
## Usage
110111

111112

0 commit comments

Comments
 (0)