ecl-logo Documentation

StructureQ

StructureQ[item]bool

returns True if item is a properly formated Structure.

Details

  • Use Sequence option if you want only motifs with sequences or only motifs with number lengths
  • Input
    Output
    General Options

Examples

Basic Examples  (3)

Returns false for things that aren't complexes:

Return False if has bad motifs:

Can skip the check for motifs:

Options  (4)

CanonicalPairing  (1)

If CanonicalPairing is set to False, canonical pairing is allowed in the sequences:

CheckMotifs  (1)

Check that primed motifs are actually primes of their unprimed counterparts:

CheckPairs  (1)

Check pairs can actually pair:

Sequence  (1)

Check if a Structure is correctly formatted: