Darwin Help

Back to Index

Complement

Function Complement - complement of a DNA sequence

Calling Sequence  Complement(nuc)
Parameters
NameTypeDescription

nuc stringa string of DNA/RNA bases
Return Type  string
Synopsis Computes the complement DNA/RNA of the given sequence. For more clarity, the antiparallel of AACC is GGTT. The reverse of AACC is CCAA and the Complement of AACC is TTGG. The Complement of a DNA sequence does not form a double helix with the sequence.
Examples
> Complement('ACTTACG');
TGAATGC
See also AltGenCode,   AminoToInt,   antiparallel,   AToCInt,   AToCodon,   BaseToInt,   BBBToInt,   BToInt,   CIntToA,   CIntToAAA,   CIntToAmino,   CIntToCodon,   CIntToInt,   CodonToA,   CodonToCInt,   CodonToInt,   GeneticCode,   IntToB,   IntToBase,   IntToBBB,   IntToCInt,   IntToCodon,   Reverse