Using a hash with :dna or :rna as key and an array with the two nucleotides arrays (one for source, one for destination) as value.