ecl-logo Documentation

ValidStrandQ

ValidStrandQ[str]bool

returns True if str is a properly formated strand (each sequence is a properly formated seqeunce of the given polymer type).

Details

  • Listable over strand and polymer type.
  • Use Exclude option to allow other polymer types, such as Modifications, in the strand.
  • Input
    Output
    General Options
    Attributes
  • Listable

Examples

Basic Examples  (2)

The function tests to see if a Strand is composed of valid sequences:

But if any sequences are invalid, StrandQ will return false:

Additional Examples  (1)

Works with degeneracy:

Options  (9)

CheckMotifs  (2)

If the CheckMotifs option is active, StrandQ will check to see that the sequences specified by matching motifs appropriately match:

If any sequences do not match, but should according to the motif, StrandQ returns False:

Degeneracy  (2)

The Degeneracy option will allow for degenerate Monomers within the motifs:

If Degeneracy is set to False, degeneracy is not permitted in the sequences:

Exclude  (3)

The Exclude option can be used to specify which polymer types are ignored in the polymer type check:

Multiple polymer types can be included in the exclusion:

Will exclude modifications by default:

Polymer  (2)

The polymer option can be used to specify which polymer type the sequences can belong to:

If any of the sequences in the Strand don't match the allowed polymer types, it will return false:

Attributes  (1)

Listable  (1)

The function is listable:

Possible Issues  (1)

Non-Pairing polymers (such as peptides), are considered to be their own reverse complement: