ecl-logo Documentation

ReverseSequenceQ

ReverseSequenceQ[sequenceA,sequenceB]out

returns true of sequenceA is the reverse of sequenceB.

ReverseSequenceQ[strandA,strandB]out

returns true of strandA is the reverse of strandB.

Details

  • works on any combination of explicitly typed or non explicitly typed sequences.
  • Input
    Output
    General Options

Examples

Basic Examples  (3)

Check if two sequences are the reverse of eachother:

The function works with polymers that have non-single base Monomers:

Strands can be used as inputs in addition to sequences:

Additional Examples  (2)

Works with explicitly typed and implicitly typed sequences:

Can also mix and match explicitly typed and implicitly typed sequences:

Options  (5)

CanonicalPairing  (2)

The CanonicalPairing option can be used to allow for matches across RNA/DNA polymers:

Or if set to False, the CanonicalPairing option will require a strict match across polymers:

Degeneracy  (2)

The Degeneracy option can be used to allow degenerate sequences to match:

If set to False the Degeneracy option can be used to require a strict match:

Polymer  (1)

The Polymer option is used to establish the polymer types of implicitly typed sequences:

Attributes  (2)

Listable  (2)

The function is listable by sequences:

The function MapThreads over pairs of lists: