#bioinformatics #rna #structural-alignment

bin+lib consprob-trained

Trainable Probability Inference Engine on RNA Structural Alignment

12 releases

Uses old Rust 2015

0.1.11 Jun 19, 2023
0.1.10 Feb 24, 2023
0.1.8 Jan 29, 2023
0.1.6 Dec 27, 2022
0.1.2 Jul 26, 2022

#167 in Biology

Download history 17/week @ 2023-08-13 3/week @ 2023-08-20 26/week @ 2023-08-27 19/week @ 2023-09-03 5/week @ 2023-09-10 5/week @ 2023-09-17 7/week @ 2023-09-24 7/week @ 2023-10-01 3/week @ 2023-10-08 8/week @ 2023-10-15 9/week @ 2023-10-22 22/week @ 2023-10-29 6/week @ 2023-11-05 8/week @ 2023-11-12 8/week @ 2023-11-19 32/week @ 2023-11-26

56 downloads per month
Used in consalign

MIT license

11K SLoC

Rust 7.5K SLoC // 0.0% comments Python 3.5K SLoC // 0.0% comments Shell 42 SLoC // 0.3% comments

Trainable Probability Inference Engine on RNA Structural Alignment


This project is written in Rust, a systems programming language. You need to install Rust components, i.e., rustc (the Rust compiler), cargo (the Rust package manager), and the Rust standard library. Visit the Rust website to see more about Rust. You can install Rust components with the following one line:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Rustup arranges the above installation and enables to switch a compiler in use easily. You can install ConsProb:

# AVX, SSE, and MMX enabled for rustc
# Another example: RUSTFLAGS='--emit asm -C target-feature=+avx2 -C target-feature=+ssse3 -C target-feature=+mmx -C target-feature=+fma'
RUSTFLAGS='--emit asm -C target-feature=+avx -C target-feature=+ssse3 -C target-feature=+mmx' \
  cargo install consprob-trained

Check if you have installed ConsProb properly:

# Its available command options will be displayed

You can run ConsProb with a prepared test set of sampled tRNAs:

git clone https://github.com/heartsh/consprob-trained \
  && cd consprob-trained
cargo test --release
# The below command requires Gnuplot (http://www.gnuplot.info)
# Benchmark results will be found at "./target/criterion/report/index.html"
cargo bench

Docker Playground

I offer my Docker-based playground for RNA software and its instruction to replay my computational experiments easily.

Method Digest

ConsProb-Turner can compute a variety of sparse posterior probabilities on RNA pairwise structural alignment using Turner's model. This repository offers ConsProb-trained, a machine-learning counterpart of ConsProb-Turner. This repository also includes a ConsTrain, structural alignment-based machine-learning method for ConsProb-trained.




Copyright (c) 2018 Heartsh
Licensed under the MIT license.


~1.5M SLoC