README.md 796 Bytes
Newer Older
Carine Rey's avatar
Carine Rey committed
1 2 3 4 5 6 7 8 9 10 11 12 13
# Instalation

## install ocaml and opam

You can check if you have `ocaml` and `opam` using 

```
ocaml --version
opam --version
```

To install `ocaml` and `opam`: https://ocaml.org/docs/install.fr.html

Carine Rey's avatar
update  
Carine Rey committed
14
```
LANORE Vincent's avatar
LANORE Vincent committed
15
sudo apt-get install opam ocaml m4 zlib1g-dev
Carine Rey's avatar
update  
Carine Rey committed
16 17 18 19 20
opam init
eval "$(opam config env)"
opam switch 4.06.1
```

Carine Rey's avatar
Carine Rey committed
21 22 23
## install bistro

```
Carine Rey's avatar
update  
Carine Rey committed
24
eval `opam config env`
Carine Rey's avatar
update  
Carine Rey committed
25
opam pin add biocaml https://github.com/biocaml/biocaml.git 
Carine Rey's avatar
Carine Rey committed
26
opam pin add bistro https://github.com/pveber/bistro.git#first-class-file-dumps
Carine Rey's avatar
update  
Carine Rey committed
27
opam install ppx_csv_conv ocamlify
Carine Rey's avatar
Carine Rey committed
28 29 30 31 32 33 34 35 36 37 38 39 40
```

## install the pipeline and check if it works

```
git clone git@gitlab.in2p3.fr:pveber/reviewphiltrans.git
cd reviewphiltrans
make
make install
```

# Run the pipeline

Carine Rey's avatar
update  
Carine Rey committed
41
## First the test
Carine Rey's avatar
Carine Rey committed
42 43

```
Carine Rey's avatar
update  
Carine Rey committed
44
make test
Carine Rey's avatar
Carine Rey committed
45 46 47 48 49 50 51
```

## Second the analyse

```
make analyses
```