25 releases (7 breaking)
Uses new Rust 2024
new 0.8.9 | Mar 12, 2025 |
---|---|
0.8.5 | Feb 27, 2025 |
0.6.1 | Dec 19, 2024 |
0.5.0 | Nov 15, 2024 |
#26 in Template engine
534 downloads per month
330KB
8K
SLoC
Template Switch Aligner
Binary: | |||
Library: |
Align two genomic sequences while allowing for template switches.
Installation
Via Cargo (Preferred)
-
Install the rust toolchain by going to rustup.rs and following the instructions. Don't worry, on unix-like systems there is just a single command to execute.
-
Run
cargo install tsalign
. -
You can now run
tsalign
on your command line from anywhere.
If you ever want to update to a new release, simply run cargo install tsalign
again.
From Source (For Developers)
-
Install the rust toolchain by going to rustup.rs and following the instructions. Don't worry, on unix-like systems there will just be a single command to be executed.
-
Clone this git repository using
git clone <url of this repository>
. -
From within the root of the git repository, you can run
cargo run --release -- align <arguments>
to run tsalign, where<arguments>
are the arguments that are passed to tsalign.
Cargo acts as a wrapper here, ensuring that whenever you make changes to the code, it will be recompiled if necessary.
Hence, for updating, it is enough to do a git pull
.
Usage
Run the installed tool with --help
(e.g. tsalign --help
if installed via cargo) to get an overview of the available options.
Dependencies
~6–15MB
~185K SLoC