Skip to content

Commit 22a2f20

Browse files
author
Mitchell R. Vollger
committed
.
1 parent 41b8dd4 commit 22a2f20

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

src/fibertools/install.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,30 +14,31 @@ mamba install -c conda-forge -c bioconda fibertools-rs
1414

1515
However, due to size constraints in `bioconda` this version does not support contain the pytorch libraries or GPU acceleration for m6A predictions. m6A predictions will still work in the bioconda version but may be much slower. If you would like to use m6A prediction and GPU acceleration, you will need to install using the directions [here](#with-libtorch).
1616

17-
1817
# From `crates.io` [![crates.io](https://img.shields.io/crates/v/fibertools-rs)](https://crates.io/crates/fibertools-rs)
1918

2019
Installation from `crates.io` requires the rust package manager `cargo`. You can find [how to install `cargo` here.](https://doc.rust-lang.org/cargo/getting-started/installation.html). Furthermore, a recent version of `gcc` and `cmake` is required. I have tested and recommend `gcc v10.2.0` and `cmake v3.21.1`, though other versions may work.
2120

22-
```
21+
```bash
2322
cargo install fibertools-rs
2423
```
2524

2625
# From GitHub (active development)
26+
2727
Using cargo from source:
28-
```
28+
29+
```bash
2930
cargo install --git https://github.com/fiberseq/fibertools-rs
3031
```
32+
3133
or using git form source:
34+
3235
```bash
3336
git clone https://github.com/fiberseq/fibertools-rs
3437
cd fibertools-rs
3538
cargo build --release
3639
./target/release/ft --help
3740
```
3841

39-
40-
4142
# With libtorch
4243

4344
Get `libtorch` **v2.2.0** from the [PyTorch website](https://pytorch.org/get-started/) and extract the content of the zip file.
@@ -58,6 +59,7 @@ export DYLD_LIBRARY_PATH=${LIBTORCH}/lib:$LD_LIBRARY_PATH
5859
```
5960

6061
Finally install using `cargo`:
62+
6163
```bash
6264
cargo install --all-features fibertools-rs
63-
```
65+
```

0 commit comments

Comments
 (0)