Class: Bio::NeXML::Dna

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

Overview

end class Characters

Direct Known Subclasses

DnaCells, DnaSeqs

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

#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



940
941
942
# File 'lib/bio/db/nexml/matrix.rb', line 940

def lookup
  @@lookup
end