View Source mix bio.random.dna (bio_ex_sequence v0.1.1)

Bio.Random.Dna will generate random sequences of DNA. Sequences are written to a file with 1 per line, and are separated by a character.

Command line options

  • --seed/-s - RNG seed (defaults to RNG default seeding)

  • --algorithm/-a - RNG algorithm (defaults to exsss)

  • --seq-count/-c - integer number of sequences to generate (required)

  • --seq-size/-z - integer size of sequence to generate (required)

  • --outfile/-f - output filename or path (default: random_sequences.txt)

Examples

$ mix bio.random.dna -s 0 -c 100 -z 50

This would write 100 sequences of 50 nucleotides to a file called random_sequences.txt.

$ mix bio.random.dna -s 0 -c 100 -z 50 -f my_random_sequences.txt

This would write the same 100 sequences of 50 nucleotides to a file called my_random_sequences.txt.

Summary

Functions

Callback implementation for Mix.Task.run/1.

Functions

Callback implementation for Mix.Task.run/1.