You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Step 3: download and build fastplong](#step-3-download-and-build-fastplong)
16
16
-[input and output](#input-and-output)
17
17
-[output to STDOUT](#output-to-stdout)
@@ -37,7 +37,7 @@ If you're searching for tools to preprocess short reads (Illumina, MGI, etc.), p
37
37
```
38
38
fastplong -i in.fq -o out.fq
39
39
```
40
-
Both input and output can be gzip compressed. By default, the HTML report is saved to `fastplong.html` (can be specified with `-h` option), and the JSON report is saved to `fastplong.json` (can be specified with `-j` option).
40
+
Both input and output can be gzip compressed. By default, the HTML report is saved to `fastplong.html` (can be specified with `-h` option), and the JSON report is saved to `fastplong.json` (can be specified with `-j` option).
41
41
42
42
# examples of report
43
43
`fastplong` creates reports in both HTML and JSON format.
@@ -64,15 +64,22 @@ mv fastplong.0.2.2 fastplong
64
64
chmod a+x ./fastplong
65
65
```
66
66
## or compile from source
67
-
`fastplong` depends on `libdeflate` and `isa-l` for fast decompression and compression of zipped data.
67
+
`fastplong` depends on `ninja-build` and `cmake` for building, and `isa-l` for fast decompression and compression of zipped data.
68
68
69
-
### Step 1: install isa-l
69
+
### Step 1: install build tools
70
+
To build `fastplong` you will need some build tools.
71
+
```bash
72
+
sudo apt update && sudo apt install cmake make g++ gdb ninja-build curl zip unzip tar pkg-config
73
+
```
74
+
On Mac OSX
75
+
```bash
76
+
brew install ninja cmake make gdb zip unzip pkg-config
77
+
```
78
+
79
+
### Step 2: install isa-l
70
80
It's recommended that to install it using your package manager, for example `apt install libisal-dev` on ubuntu, or `brew install isa-l` on Mac. Otherwise you can compile it from source. Please be noted that `isa-l` is not compatible with gcc 4.8 or older versions. See https://github.com/intel/isa-l
71
81
`autoconf`, `automake`, `libtools`, `nasm (>=2.11.01)` and `yasm (>=1.2.0)` are required to build isa-l.
72
82
73
-
### step 2: install libdeflate
74
-
It's recommended that to install it using your package manager, for example `apt install libdeflate-dev` on ubuntu, or `brew install libdeflate` on Mac. Otherwise you can compile it from source. See https://github.com/ebiggers/libdeflate
75
-
76
83
### Step 3: download and build fastplong
77
84
```shell
78
85
# get source (you can also use browser to download from master or releases)
@@ -186,7 +193,7 @@ Specify `--split_by_lines` to limit the lines of each file. The last files may h
186
193
usage: fastplong -i <in> -o <out> [options...]
187
194
fastplong: ultra-fast FASTQ preprocessing and quality control for long reads
0 commit comments