ecl-logo Documentation

RepeatsQ

RepeatsQ[sequence,k]repeats

the function returns true if in the provided sequence a repeated subseuqence of lenght k exists anywhere in the sequence.

RepeatsQ[sequence,k,Span[m,n]]repeats

the function returns true if in the provided sequence a repeate subsequence of lenght k exists in the space from position m to n.

RepeatsQ[str,k]repeats

the function returns true if in the provided strand a repeat of lenght k not designated by motif Pairing exists anywhere.

RepeatsQ[cmplx,k]repeats

the function returns true if in the provided Structure a repeat of length k not designated by motif Pairing exists anywhere.

RepeatsQ[subsequences]repeats

given a list of subsequences, determines if any one of the subsequences in that list repeates more than once.

RepeatsQ[subsequences,testSequence]repeats

given a list of subsequences and a test sequences, determines if the test sequences appears in the subsequences anywhere.

Details

  • When spans are provided returns any sequences of length k which inclusively contact the provided region.
  • Input
    Output
    General Options

Examples

Basic Examples  (4)

Check if sequences are repeats:

Check if sequences are repeats:

Not repeats:

Structure with a repeat of length 4:

Options  (4)

CanonicalPairing  (3)

CanonicalPairing set as true:

CanonicalPairing set as false:

CanonicalPairing set as true:

Polymer  (1)

Can specify the polymer type: