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
To call A*PA2 from another Rust crate, simply add the =astarpa[2]= crate in this
49
44
repo as a git dependency.
50
45
51
-
For A*PA2, use ~astarpa2_simple(a, b)~ or ~astarpa2_full(a, b)~ in the
52
-
[[file:astarpa2/src/lib.rs][~astarpa2~ crate]], or customize parameters with e.g.
46
+
We recommend using ~astarpa2_simple(a, b)~ or ~astarpa2_full(a, b)~ in the
47
+
[[file:astarpa2/src/lib.rs][~astarpa2~ crate]]. Parameters can be customized with e.g.
53
48
#+begin_src rust
54
49
let mut params = astarpa2::AstarPa2Params::full();
55
50
params.front.incremental_doubling = false;
@@ -73,13 +68,13 @@ simple usage. To run the resulting binary, make sure to ~export LD_LIBRARY_PATH=
73
68
=pa-bin= is a small command line application that takes as input consecutive pairs of
74
69
sequences from a =.fasta=, =.seq=, or =.txt= file (or can generate random input)
75
70
and outputs costs and alignments to a =.csv=.
76
-
#+end_src
77
71
78
72
This requires =cargo= and Rust =nightly=. To get both, first install [[https://rustup.rs/][rustup]]. Then enable ~nightly~: ~rustup install nightly; rustup default nightly~.
79
73
80
74
Install =pa-bin= to =~/.local/share/cargo/bin/pa-bin= using the following (cloning this repo is not needed):
0 commit comments