reverseComplementer

Compute the reverse complement of a DNA sequence. Only bases A, T, C, G will be translated; all other characters are left as is. Replacement preserves casing of the characters.

  1. auto reverseComplementer(Range sequence)
    reverseComplementer
    (
    Range
    )
    (
    Range sequence
    )
    if (
    isBidirectionalRange!Range &&
    isSomeChar!(ElementType!Range)
    )
  2. T reverseComplement(in T sequence)

Meta