Skip to content

Commit 0347639

Browse files
authored
Merge pull request #22 from microbiomes/patch-1
compile
2 parents 798f7f4 + d0e8ee4 commit 0347639

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

README.md

+28
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,34 @@ Seqfu can be easily installed via Miniconda:
2323
conda install -y -c conda-forge -c bioconda "seqfu>1.10"
2424
```
2525

26+
### Build from source
27+
28+
Building the Nim programs alone would just require a `nimble build`,
29+
but this would leave out some other utilities.
30+
There is a `make` (Makefile) building system. Since Nim is not so popular,
31+
I describe a full installation:
32+
33+
```bash
34+
# Do you have building tools? You will need C and make, in Ubuntu:
35+
sudo apt install build-essential
36+
37+
# Install zlib
38+
sudo apt install zlib1g-dev
39+
40+
# Install Nim 2.0
41+
curl https://nim-lang.org/choosenim/init.sh -sSf | sh
42+
43+
# Clone this repo
44+
git clone https://github.com/telatin/seqfu2
45+
46+
# Compile and test
47+
cd seqfu2
48+
make
49+
make test
50+
51+
# All binaries are in bin (move them in a location in your $PATH)
52+
```
53+
2654
## 📰 Citation
2755

2856
Telatin A, Fariselli P, Birolo G.

0 commit comments

Comments
 (0)