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

https://github.com/gregorybchris/typogenetics-rust

From Douglas Hofstadter's "Gödel, Escher, Bach" (1979)
https://github.com/gregorybchris/typogenetics-rust

biology dna douglas genetics hofstadter replication rna science strands typogenetics

Last synced: 26 days ago
JSON representation

From Douglas Hofstadter's "Gödel, Escher, Bach" (1979)

Awesome Lists containing this project

README

          

# Typogenetics Rust

For more information about this project, please see the README for [gregorybchris/typogenetics](https://github.com/gregorybchris/typogenetics).

## Requirements

- [Rust](https://www.rust-lang.org/tools/install)

## Building

```bash
cargo build --release
```

## Usage

```bash
# Change to directory with build output
cd target/release

# Translate a single strand into enzymes
./typogenetics translate ATAGAGAGATCACATGTACGATAC

# Apply an enzyme to a strand to produce a set of new strands
./typogenetics rewrite cop-mvl-mvr-swi-cut-rpy AATACTAAACCGA

# Simulate many generations of evolution with a starting strand
./typogenetics simulate ATAGCGAATAGGATAATG --iter 10000 --seed 42
```