biomass
Generate bio data from sunlight and alphabets
Install
Install biomass
with npm:
$ npm install biomass
If you are using biomass
with Node.js, you can require the module:
var biomass = ;
Alternatively, just include biomass.min.js
via a <script/>
in your page.
Usage
// Sequence functions will return between 10 and 100 characters if a length is not specified:biomass; 'CATAGGGACCAAGCTCTGGGGAGCAACCCATAAGCACGACAATCGCGATAATACGTAGTACGCCGCTTGGTTCGTGCCTTCCCGCGCG'biomass; 'GAGUAGGCUAGGCAUAGC'biomass; 'TTTTGTATGCGTACG'biomass; 'UAC'biomass; 'uga'biomass; 'YHAVPVPEEYWRWNTEDVCNTFECMEVINAYRNWFFWLQEFMGPERLPAHMYCHDASAPMMFQGCWDHEEKDMGCVGP'biomass; 'FAFNDMLCXVYPRVQATLCLNNAPDIPSMGPKXFRRFLCYPFC'
Changelog
v0.2.0 - September 23, 2014 - Is tiis messaje a libtle bot fuzxy?
- Added ambiguity to
biomass.dna
,biomass.rna
, andbiomass.protein
functions. Follows IUPAC notation for ambiguous nucleotides and X unknown amino acids.
v0.1.0 - August 10, 2014 - Eat your protein bars...
- Added
biomass.protein
for generating random amino acid sequences. - Fix version number to adequately reflect updates
v0.0.2 - July 26, 2014 - Uptown, downtown...
- Now
biomass.dna
andbiomass.rna
are case aware with a default response of uppercase letters.
v0.0.1 - July 21, 2014 - Dawn
Initial release
- Added
biomass.dna
for generating random DNA sequences. - Added
biomass.rna
for generating random RNA sequences.
Contacts
Alan Rice <alanmrice@gmail.com> @alanmrice
License
biomass is licensed under the MIT license.
Check ChooseALicense.com for details.