Class: Bio::NeXML::Rna

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

Direct Known Subclasses

RnaCells, RnaSeqs

Constant Summary collapse

@@lookup =
{
  'A' => [ 'A'                ],
  'C' => [ 'C'                ],
  'G' => [ 'G'                ],
  'U' => [ 'U'                ],
  'M' => [ 'A', 'C'           ],
  'R' => [ 'A', 'G'           ],
  'W' => [ 'A', 'U'           ],
  'S' => [ 'C', 'G'           ],
  'Y' => [ 'C', 'U'           ],
  'K' => [ 'G', 'U'           ],
  'V' => [ 'A', 'C', 'G'      ],
  'H' => [ 'A', 'C', 'U'      ],
  'D' => [ 'A', 'G', 'U'      ],
  'B' => [ 'C', 'G', 'U'      ],
  'X' => [ 'G', 'A', 'U', 'C' ],
  'N' => [ 'G', 'A', 'U', 'C' ],
  '-' => [                    ],
  '?' => [ 'G', 'A', 'U', 'C' ],        
}

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



967
968
969
# File 'lib/bio/db/nexml/matrix.rb', line 967

def lookup
  @@lookup
end