converted method

Get a new Nucleotide that converted type of DNA and RNA.

  • type : return base type. DNA or RNA.

Implementation

Nucleotide converted(EnumNucleotideSequenceType type) {
  return Nucleotide(base.converted(type));
}