Path: | lib/bio/db/aaindex.rb |
Last Update: | Thu Feb 18 18:16:45 +0000 2010 |
Copyright: | Copyright (C) 2001 KAWASHIMA Shuichi <s@bioruby.org> |
Copyright: | Copyright (C) 2006 Mitsuteru C. Nakao <n@bioruby.org> |
License: | The Ruby License |
$Id:$
Classes for Amino Acid Index Database (AAindex and AAindex2).
aax1 = Bio::AAindex.auto("PRAM900102.aaindex1") aax2 = Bio::AAindex.auto("DAYM780301.aaindex2") aax1 = Bio::AAindex1.new("PRAM900102.aaindex1") aax1.entry_id aax1.index aax2 = Bio::AAindex2.new("DAYM780301.aaindex2") aax2.entry_id aax2.matrix aax2.matrix[2,2] aax2.matrix('R', 'A') aax2['R', 'A']