| Crates.io | markov_genome |
| lib.rs | markov_genome |
| version | 0.1.0 |
| created_at | 2025-12-16 19:04:04.619246+00 |
| updated_at | 2025-12-16 19:04:04.619246+00 |
| description | Learn the properties of a FASTA sequence database and simulate sequences in a Markov process |
| homepage | |
| repository | https://github.com/eaasna/markov_genome/ |
| max_upload_size | |
| id | 1988462 |
| size | 53,280 |
Model a sequence database as a Markov process of order n and simulate random sequences with a similar k-mer count distribution. Markov genome ignores case and can model arbitrary 8-bit alphabets.
conda install -c bioconda -c conda-forge markov_genome
Refer to the Rust Setup Tutorial for more in depth information.
git clone git@github.com:eaasna/markov_genome.git
cd markov_genome
cargo build --release
The markov_genome binary can be found in target/release/.
You may want to add the executable to your PATH:
export PATH=$(pwd)/target/release/markov_genome:$PATH
markov_genome --help
Learn the transition probabilities of the test reference database and use a Markov process of order 3 to simulate two chromosomes of length 100bp:
markov_genome --input test/ref.fasta --output sim.fasta --order 3 --lens 100 --lens 100
For a detailed list of options, see the help page:
markov_genome --help