@@ -26,31 +26,21 @@ conda config --set channel_priority strict
26
26
mamba install ipk epik
27
27
```
28
28
29
- Rapid test:
30
- ```
31
- # get some test alignment and tree
32
- wget https://github.com/phylo42/IPK/blob/main/tests/data/D652/reference.fasta
33
- wget https://github.com/phylo42/IPK/blob/main/tests/data/D652/tree.rooted.newick
34
-
35
- # activate conda environment
36
- conda activate epik
37
-
38
- # build database with IPK : using 1 CPU and default phylogenetic model parameters
39
- # a better approach would be to use appropriate parameters, see documentation
40
- ipk.py build --refalign reference.fasta --reftree tree.rooted.newick --states nucl --workdir . --model GTR
29
+ ## Installation via Pixi
41
30
42
- # place with EPIK
43
- epik.py place -i DB.ipk -s nucl -o . reference.fasta
31
+ If you find conda slow and clumsy, consider the wonderful [ pixi] ( https://pixi.sh/ ) manager:
44
32
45
- # jplace results
46
- cat placements_reference.fasta.jplace
47
-
48
- # you can do post-analyses with the excellent 'gappa' package
49
- # (available in bioconda too, see https://github.com/lczech/gappa)
50
33
```
34
+ pixi init -c conda-forge -c bioconda
35
+ pixi add epik ipk
36
+ pixi shell
37
+ ```
38
+
39
+ And you're good to go.
51
40
41
+ ## Installation from sources
52
42
53
- ## Installation via compilation
43
+ If you want to get your hands dirty, follow these steps.
54
44
55
45
### Prerequisites
56
46
@@ -67,6 +57,30 @@ sudo apt install build-essential cmake libboost-dev libboost-serialization-dev l
67
57
pip3 install click
68
58
```
69
59
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
+
70
84
### Clone and build
71
85
```
72
86
git clone --recursive https://github.com/phylo42/EPIK epik
0 commit comments