https://github.com/dellch/forester
Tip revision: 03eea349b23722447a20edcb903248a5a8b764b4 authored by Chris on 18 September 2017, 03:43:22 UTC
Update trees.rb
Update trees.rb
Tip revision: 03eea34
README.md
# FORESTER
_Paper available at PeerJ: [A laid-back trip through the Hennigian Forests](https://peerj.com/articles/3578/)_
_Concept by Evgeny Mavrodiev_
_Scripts by [github.com/dellch](https://github.com/dellch)_
### Description
FORESTER version 1.0
Trees.rb represents a conventional binary matrix as an array of the Newick trees
Seedlings.rb represents a 3TS matrix as an array of the Newick trees
### Requirements
[ruby](https://www.ruby-lang.org/en/) (developed with ruby 2.3)
## Scripts
### trees.rb
**[github](https://github.com/dellch/forester/blob/master/trees.rb) | [download](https://raw.githubusercontent.com/dellch/forester/master/trees.rb) | [old version](https://raw.githubusercontent.com/dellch/forester/db080518315734bf1e22c19c179e63dca9a7a7ad/trees.rb)**
#### Usage
```
ruby trees.rb PATH_TO_MATRIX_FILE
```
#### Outputs
trees.rb outputs three files:
* NO_POLY_original-filename.txt
* WITH_POLY_original-filename.txt
* ADDITIONAL_FILE_original-filename.txt
### seedlings.rb
**[github](https://github.com/dellch/forester/blob/master/seedlings.rb) | [download](https://raw.githubusercontent.com/dellch/forester/master/seedlings.rb)**
#### Usage
```
ruby seedlings.rb PATH_TO_MATRIX_FILE
```
#### Outputs
seedlings.rb outputs one file:
* altered_original-filename.txt