aaindex.rb

Path: lib/bio/db/aaindex.rb
Last Update: Sun Dec 04 02:16:41 +0000 2011

bio/db/aaindex.rb - AAindex database class

Copyright:Copyright (C) 2001 KAWASHIMA Shuichi <s@bioruby.org>
Copyright:Copyright (C) 2006 Mitsuteru C. Nakao <n@bioruby.org>
License:The Ruby License

$Id:$

Description

Classes for Amino Acid Index Database (AAindex and AAindex2).

Examples

 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']

References

Required files

bio/db   matrix  

[Validate]