Talk:AminoAcidColours.pl
From Organic Design wiki
- Sources of color schemes
- http://life.nthu.edu.tw/~fmhsu/rasframe/COLORS.HTM
- http://www.inrp.fr/Acces/biotic/rastop/help/colour.htm
- http://www.bioinformatics.nl/~berndb/aacolour.html
- http://www.hiv.lanl.gov/content/hiv-db/HTML/tool-color.html
- http://www.accelrys.com/products/downloads/ds_visualizer/index.html
- http://users.ox.ac.uk/~linc1775/blueprint.htm
- Molecules
<perl> sub _type {
shift; local $_ = shift; return /^[gatcnGATCN*-]+$/ ? DNA : /^[gaucnGAUCN*-]+$/ ? RNA
: PROTEIN; } </perl>
- PHP equivalent
<php> function type($bases) {
return preg_match("/^[\\d\\sacgtn*-]+$/i", $bases) ? "dna" : (preg_match("/^[\\d\\sacgun*-]+$/i", $bases) ? "rna" : "protein" );
} </php>
Amino acis letters, all alphabet except b (if not determined Aspartate or asparagine), j, o, u, x (special), z (if not determined Glutamate or glutamine) --Sven 14:31, 24 May 2007 (NZST)