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
Copy file name to clipboardExpand all lines: README.md
+28-5Lines changed: 28 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,6 @@ You can also use conda to install *slow5tools* as `conda install slow5tools -c b
30
30
31
31
### Building a release
32
32
33
-
34
33
Users are recommended to build from the [latest release](https://github.com/hasindu2008/slow5tools/releases) tar ball.
35
34
36
35
Quick example for Ubuntu :
@@ -70,7 +69,7 @@ make
70
69
71
70
### Other building options
72
71
73
-
- You can optionally enable [*zstd* compression](https://facebook.github.io/zstd) support when building *slow5lib* by invoking `make zstd=1`. This requires __zstd 1.3 or higher development libraries__ installed on your system (*libzstd1-dev* package for *apt*, *libzstd-devel* for *yum/dnf* and *zstd* for *homebrew*). SLOW5 files compressed with *zstd* offer slightly smaller file size and better performance compared to the default *zlib*. However, *zlib* runtime library is available by default on almost all distributions unlike *zstd* and thus files compressed with *zlib* will be more 'portable' (also see [notes](https://github.com/hasindu2008/slow5tools#notes)).
72
+
- You can optionally enable [*zstd* compression](https://facebook.github.io/zstd) support when building *slow5lib* by invoking `make zstd=1`. This requires __zstd 1.3 or higher development libraries__ installed on your system (*libzstd1-dev* package for *apt*, *libzstd-devel* for *yum/dnf* and *zstd* for *homebrew*). SLOW5 files compressed with *zstd* offer smaller file size and better performance compared to the default *zlib*. However, *zlib* runtime library is available by default on almost all distributions unlike *zstd* and thus files compressed with *zlib* will be more 'portable' (also see [notes](https://github.com/hasindu2008/slow5tools#notes)).
74
73
75
74
-*slow5tools* from version 0.3.0 onwards by default requires vector instructions (SSSE3 or higher for Intel/AMD and neon for ARM). If your processor is an ancient processor with no such vector instructions, invoke make as `make no_simd=1`.
76
75
@@ -85,11 +84,17 @@ make
85
84
Similarly, to locally build *zstd* and link against that:
86
85
87
86
```
88
-
scripts/install-zstd.sh # download and compiles HDF5 in the current folder
87
+
scripts/install-zstd.sh # download and compiles zstd in the current folder
89
88
./configure --enable-localzstd
90
-
make
89
+
make # don't run make zstd=1. libzstd.a is statically linked this time.
91
90
```
92
91
92
+
- On Mac M1 or in any system if `./configure` cannot find the hdf5 libraries installed through the package manager, you can specify the location as *LDFLAGS=-L/path/to/shared/lib/ CPPFLAGS=-I/path/to/headers/*. For example on Mac M1:
git clone https://github.com/hasindu2008/slow5tools && cd slow5tools
@@ -99,7 +104,7 @@ make
99
104
100
105
## Usage
101
106
102
-
Visit the [man page](https://hasindu2008.github.io/slow5tools/commands.html) for all the commands and options.
107
+
Visit the [man page](https://hasindu2008.github.io/slow5tools/commands.html) for all the commands and options. See [here](https://hasindu2008.github.io/slow5tools/oneliners.html) for example bash one-liners with slow5tools. A guide on using BLOW5 for archiving and steps to verify if data integrity is preserved is [here](https://hasindu2008.github.io/slow5tools/archive.html). A script for performing real-time FAST5 to BLOW5 conversion during sequencing is provided [here](https://github.com/hasindu2008/slow5tools/tree/master/scripts/realtime-f2s).
Visit [here](https://hasindu2008.github.io/slow5tools/workflows.html) for example workflows.
143
148
149
+
150
+
### Troubleshooting/Questions
151
+
152
+
Visit the [frequently asked questions](https://hasindu2008.github.io/slow5tools/faq.html) or open an [issue](https://github.com/hasindu2008/slow5tools/issues).
153
+
154
+
155
+
### Upcoming features and optimisations
156
+
157
+
Following are some features and optimisations in our todo list which will be implemented based on the need. If anyone is interested please request [here](https://github.com/hasindu2008/slow5tools/issues). Contributions are welcome.
158
+
159
+
- pipelining input, processing and output in *merge, get, etc.* (expected runtime improvement upto 2X)
160
+
- reading from stdin for *view*
161
+
- binary releases for ARM64 processors on Linux
162
+
- binary releases for MacOS
163
+
- decoupling conversion modules (currently f2s and s2f; any future formats) so that slow5tools only deal with S/BLOW5 files and thus can be easily compiled. Currently, compiling slow5tools is not straight forward due to the HDF5 (FAST5) dependency
164
+
- any other features that are potentially useful to many
165
+
166
+
144
167
### Notes
145
168
146
169
*slow5lib* from version 0.3.0 onwards has built in [StreamVByte](https://github.com/lemire/streamvbyte) compression support to enable even smaller file sizes, which is applied to the raw signal by default when producing BLOW5 files. *zlib* compression is then applied by default to each record. If *zstd* is used instead of *zlib* on top of *StreamVByte*, it is similar to ONT's latest [vbz](https://github.com/nanoporetech/vbz_compression) compression. BLOW5 files compressed with *zstd+StreamVByte* are still significantly smaller than vbz compressed FAST5 files.
Copy file name to clipboardExpand all lines: docs/getting_started.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,6 +84,12 @@ make
84
84
./configure --enable-localzstd
85
85
make
86
86
```
87
+
88
+
- On Mac M1 or in any system if `./configure` cannot find the hdf5 libraries installed through the package manager, you can specify the location as *LDFLAGS=-L/path/to/shared/lib/ CPPFLAGS=-I/path/to/headers/*. For example on Mac M1:
SLOW5 support for ONT's Bonito basecaller is now available as a [pull request](https://github.com/nanoporetech/bonito/pull/252) along with usage instructions and benchmarks.
0 commit comments