ecl-logo Documentation

EmeraldSubsequences

EmeraldSubsequences[sequence,n]subsequences

breaks the provides sequence into a list of overlapping subsequences of length n.

EmeraldSubsequences[sequence,n,Span[minIndex,maxIndex]]subsequences

breaks the provides sequence into a list of overlapping subsequences of length n from the minIndex to the maxIndex.

EmeraldSubsequences[sequence]subsequences

breaks the provides sequence into a list of overlapping subsequences from length 1 to the length of the sequence.

EmeraldSubsequences[sequence,Span[minIndex,maxIndex]]subsequences

breaks the provides sequence into a list of overlapping subsequences of length 1 to the length of the sequence from the minIndex to the maxIndex.

EmeraldSubsequences[cmplex,n]motifSubsequence

given a Structure, and a level n, returns a list of rules for each subsequence of each unique motif in the set of strands of the Structure.

EmeraldSubsequences[strands,n]motifSubsequence

given a list of strands, and a level n, returns a list of rules for each subsequence of each unique motif in the set of strands.

Details

    Input
    Output
    General Options

Examples

Basic Examples  (2)

Given a Structure, and a level 5, returns a list of rules for each subsequence of the Structure:

Given a Structure, and a level 5, returns a list of rules for each subsequence of each unique motif in the set of strands of the Structure:

Options  (8)

CanonicalPairing  (3)

With CanonicalPairing off, subsequences will leave the subsequences in the alphabets of their source polymers:

With CanonicalPairing on, all of the subsequences will be transformed into DNA sequences using ToDNA:

This option works with Strand and Structure subsequence calls as well:

Complete  (2)

Given a Structure, and a level 5, returns a minimal set of rules for each subsequence of the Structure:

Given a Structure, and a level 5, returns a set of rules for each subsequence of the Structure including the reverse compliment subsequences:

ExplicitlyTyped  (1)

Given a DNA Structure, and a level 5, returns a list of rules for each subsequence of the Structure:

MinLevel  (1)

Specify the minimum level of subsequences to consider when deconstructing:

Polymer  (1)

Given a sequence that has a specified type, return a list of overlapping subsequences of length 2:

Messages  (1)

unknownPolymer  (1)

For invalid input sequence, will throw a message: