Class: Bio::NeXML::Dna
- Inherits:
-
Characters
- Object
- Characters
- Bio::NeXML::Dna
- Defined in:
- lib/bio/db/nexml/matrix.rb
Overview
end class Characters
Constant Summary collapse
- @@lookup =
{ 'A' => [ 'A' ], 'C' => [ 'C' ], 'G' => [ 'G' ], 'T' => [ 'T' ], 'M' => [ 'A', 'C' ], 'R' => [ 'A', 'G' ], 'W' => [ 'A', 'T' ], 'S' => [ 'C', 'G' ], 'Y' => [ 'C', 'T' ], 'K' => [ 'G', 'T' ], 'V' => [ 'A', 'C', 'G' ], 'H' => [ 'A', 'C', 'T' ], 'D' => [ 'A', 'G', 'T' ], 'B' => [ 'C', 'G', 'T' ], 'X' => [ 'G', 'A', 'T', 'C' ], 'N' => [ 'G', 'A', 'T', 'C' ], '-' => [ ], '?' => [ 'G', 'A', 'T', 'C' ], }
Instance Attribute Summary
Attributes inherited from Characters
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
Constructor Details
This class inherits a constructor from Bio::NeXML::Characters
Instance Method Details
#lookup ⇒ Object
940 941 942 |
# File 'lib/bio/db/nexml/matrix.rb', line 940 def lookup @@lookup end |