<commit_before># Refasta (temporary name)

This is a program to convert various biology formats from one into another.

*Warning* this project is Very Alpha.

This is born out of the complexity that arrises from the abuse and missuse of
biology file formats, such as [fasta](https://en.wikipedia.org/wiki/FASTA),
or the complexity of the formats, such as [TNT](http://www.lillo.org.ar/phylogeny/tnt/).

TODO

- [x] Read a Fasta file, output a fasta file
- [x] Species Name and Gene Name schemas
- [x] Read a Fasta File, output a TNT file
      ccode and cgroup can be ignored
- [x] Support blocks and cnames in TNT
- [ ] Support single 'block' in tnt. This needs conditional using of xgroups
      when the number of blocks  == 1, and blocks when greater (verify this)<commit_msg>Add installation instructions<commit_after># Refasta (temporary name)

This is a program to convert various biology formats from one into another.

*Warning* this project is Very Alpha.

This is born out of the complexity that arrises from the abuse and missuse of
biology file formats, such as [fasta](https://en.wikipedia.org/wiki/FASTA),
or the complexity of the formats, such as [TNT](http://www.lillo.org.ar/phylogeny/tnt/).


## Installation

if you have `go` installed on your system, you can `go get github.com/yarbelk/refasta`
Otherwise, look at the releases page.

TODO

- [x] Read a Fasta file, output a fasta file
- [x] Species Name and Gene Name schemas
- [x] Read a Fasta File, output a TNT file
      ccode and cgroup can be ignored
- [x] Support blocks and cnames in TNT
- [ ] Support single 'block' in tnt. This needs conditional using of xgroups
      when the number of blocks  == 1, and blocks when greater (verify this)
{'fraction_non_alphanumeric': 0.08023255813953488, 'fraction_numerical': 0.0011627906976744186, 'mean_word_length': 3.820728291316527, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6139966', 'n_tokens_mistral': 523, 'n_tokens_neox': 505, 'n_words': 251}