transcribe method

String transcribe({
  1. int? startIdx,
})

Returns the transcribed version of this sequence.

Implementation

String transcribe({int? startIdx}) {
  if (startIdx != null) {
    return this.seq.substring(startIdx).replaceAll('T', 'U');
  }
  return this.seq.replaceAll('T', 'U');
}