ecl-logo Documentation

ReverseComplementSequence

ReverseComplementSequence[seq]revCompSequence

give the reverse complement sequence to the provided seq.

ReverseComplementSequence[str]revCompStrand

give the reverse complement sequence to the provided str.

ReverseComplementSequence[motif]rcMotif

given a motif name, will either add or remove the ' character to denote the reverse compliment motif name.

Details

  • ReverseComplementSequence works with the motif naming and the tick symbol "'" to denote reverse complements of given motifs.
  • Input
    Output
    General Options

Examples

Basic Examples  (3)

Given a sequence input will return the reverse complementary sequence:

If provided a Strand, the function returns a reverse complementary Strand:

If provided a motif name, returns the reverse complimentary motif (' signify reverse complimentarity):

Additional Examples  (2)

The function can handle degenerate sequences as well:

The reverse complement for LNAChimera:

Options  (6)

ExplicitlyTyped  (2)

The ExplicitlyTyped option can be used to request that the ouput be explicitly typed:

If ExplicitlyTyped is set to automatic, will match the typing of the input:

IncludeModification  (2)

Leave modifications as they are in the strand:

Remove any modifications:

Motif  (1)

The motif option can be used to indicate that a string input is a motif rather than a sequence:

Polymer  (1)

The Polymer option can be used to disambiguate input:

Attributes  (1)

Listable  (1)

The function is listable across sequences, strands, or motifs:

Messages  (1)

RemoveModification  (1)

Return Null for cases where modification is asked to be removed but cannot: