0.0
No commit activity in last 3 years
No release in over 3 years
Lorem Ipsum Bio is a toolkit for generating varied random biological sequences (especially usable as a control group in analysis)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

lorem_ipsum_bio

Gem Version MIT Licence Open Source Love

Lorem Ipsum Bio is a Ruby gem for generating varied random biological sequences.

Few examples in interactive ruby shell:

  >> require 'lorem_ipsum_bio'
  => true
  >> LoremIpsumBio.random_string(3, ['a', 'b', 'c'])
  => "bac"
  >> LoremIpsumBio.random_string(2, ['who', 'am', 'I'])
  => "Iam"
  >> LoremIpsumBio.random_DNA(3)
  => "TGA"
  >> LoremIpsumBio.random_RNA(3)
  => "UGA"
  >> LoremIpsumBio.random_protein(3)
  => "WTF"

Example of gem executable use:

  $ echo "> My own random fasta seq" > dna.fasta
  $ lorem_ipsum_bio 50 dna >> dna.fasta
  $ cat dna.fasta
  > My own random fasta seq
  GTCTGGTAAGAGTGATATCGCCTTGAGTGTCGAAATGGGTGTCCCCCCTC