Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thibaultlatrille/convergentdnds


https://github.com/thibaultlatrille/convergentdnds

Last synced: 1 day ago
JSON representation

Awesome Lists containing this project

README

        

# **ConvergentdNdS**

The simulator [SimuEvol](https://github.com/ThibaultLatrille/SimuEvol) is required to generate the alignments.

## Installing *SimuEvol*

Install the compiling toolchains:
```
sudo apt install -qq -y make cmake clang
```
In the root folder of **ConvergentdNdS**, clone and compile the C++ code for *SimuEvol*
```
git clone https://github.com/ThibaultLatrille/SimuEvol && cd SimuEvol && make release && cd ..
```

## Replicate experiments

Running `snakemake` will generate the alignments for the experiment described `config/config.yaml`:
```
snakemake -j ${CPU} -k
```

To run the experiments for all the configurations in the `config` folder, you can use the following script:
```
CPU=8
for EXPERIMENT in config/Mammals*.yaml; do
cp -rf "${EXPERIMENT}" "config/config.yaml"
snakemake -j ${CPU} -k
done
```

Running the script `dataset.py` will create a folder `dataset` containing the alignments (in fasta format), the tree used to generate the simulations (`rootedtree.OrthoMam.nhx`), and a `dataset.csv` table which contains the relationships between the name of the fasta and the parameters that were used for the simulations