Class: Bio::NeXML::Protein

Inherits:
Characters show all
Defined in:
lib/bio/db/nexml/matrix.rb

Direct Known Subclasses

ProteinCells, ProteinSeqs

Constant Summary collapse

@@lookup =
{
  'A' => [ 'A'      ],
  'B' => [ 'D', 'N' ],
  'C' => [ 'C'      ],
  'D' => [ 'D'      ],
  'E' => [ 'E'      ],
  'F' => [ 'F'      ],
  'G' => [ 'G'      ],
  'H' => [ 'H'      ],
  'I' => [ 'I'      ],
  'K' => [ 'K'      ],
  'L' => [ 'L'      ],
  'M' => [ 'M'      ],
  'N' => [ 'N'      ],
  'P' => [ 'P'      ],
  'Q' => [ 'Q'      ],
  'R' => [ 'R'      ],
  'S' => [ 'S'      ],
  'T' => [ 'T'      ],
  'U' => [ 'U'      ],
  'V' => [ 'V'      ],
  'W' => [ 'W'      ],
  'X' => [ 'X'      ],
  'Y' => [ 'Y'      ],
  'Z' => [ 'E', 'Q' ],
  '*' => [ '*'      ],
  '-' => [          ],
  '?' => [ 'A', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'K', 'L', 'M', 'N', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', '*' ]
}

Instance Attribute Summary

Attributes inherited from Characters

#format, #id, #label, #matrix

Instance Method Summary collapse

Methods inherited from Characters

#add_format, #add_matrix, #create_format, #create_matrix, #create_raw, #initialize, #join_sequence, #split_sequence, #to_xml

Methods included from Mapper

#properties

Constructor Details

This class inherits a constructor from Bio::NeXML::Characters

Instance Method Details

#lookupObject



1003
1004
1005
# File 'lib/bio/db/nexml/matrix.rb', line 1003

def lookup
  @@lookup
end