ecl-logo Documentation

ModificationQ

ModificationQ[sequence]isSequence

returns true if the provided string is a valid sequence of modifications.

ModificationQ[str]isStrand

returns true if the provided strand is composed of valid sequence of modifications.

Details

    Input
    Output
    General Options

Examples

Basic Examples  (5)

Works on untyped sequences:

Checks to ensure the monomes used only Monomers in the polymer alphabet:

These are also not the correct type:

Overloaded to work on strands as well using StrandQ:

Checks that all the sequences in the Strand are the correct type:

Additional Examples  (2)

Works on explicitly typed sequences as well:

Regardless of motif names:

Options  (10)

CheckMotifs  (1)

Check motifs checks that the sequences set by the motifs match:

Degeneracy  (4)

Can accomidate degeneracy in the sequence:

Degeneracy option allows for degenerate sequences:

Degeneracy set to false will not accept numeric sequences:

Degeneracy set to false does not accept any degnerate bases in the sequence:

Exclude  (2)

Exclude option provides a polymer type or list of polymer types to ignore when checking that its a modification:

Exclude option provides a polymer type or list of polymer types to ignore when checking that its a modification:

Map  (2)

Test on each sequence:

Test each sequence and return one combined result:

Polymer  (1)

Polymer type is given:

Attributes  (1)

Listable  (1)

The function is listable: