# PhyloAliFold Program, which Predicts RNA Consensus Secondary Structures to Incorporate Phylogeny among Homologs
# Installation
This project has been written in mainly Rust, a systems programming language.
So first, you need to install the Rust compiler, package manager, and standard library.
Visit [the Rust website](https://www.rust-lang.org) to see more about this language.
You can install these 3 components with 1 line as follows:
```bash
The above installation is done by [Rustup](https://github.com/rust-lang-nursery/rustup.rs), so you can easily switch a compiler to use.
Also you need to install the [Centroid RNA package](https://github.com/satoken/centroid-rna-package) to predict pairing probabilities by the RNAalipfold algorithm.
Now you can install the PhyloAliFold program as follows:
```bash
$ cargo install phyloalifold
```
Check if this program has been installed properly as follows:
```bash
$ phyloalifold # Its available command options will be displayed.
```
After the test, the figures shown in the paper of the PhyloAliFold program can be reproduced:
```bash
$ cd src
$ ./run_all.py # Install python packages required to the reproduction. Saved figures will appear at the "../assets/images" directory.
```
# Author
[Heartsh](https://github.com/heartsh)
# License
Copyright (c) 2018 Heartsh
Licensed under [the MIT license](http://opensource.org/licenses/MIT).