ecl-logo Documentation

DefineMotifs

DefineMotifs[str, rules]out

apply the replacement rules in rules to all motifs in str. Any motifs not replaced by rules will be replaced with the letter N.

DefineMotifs[expr, rules]out

apply the replacement rules in rules to every strand in the expression expr.

Details

    Input
    Output
    Messages
  • MissingMotifsNo replacement rules given for the motifs: `1`. These motifs were replaced with 'N'
    NonPairingMotifsResulting Structure does not satisfy validMotifsQ

Examples

Basic Examples  (2)

Replace sequence-less motifs with sequences:

Revcomps given sequences when necessary:

Messages  (2)

MissingMotifs  (1)

Gives warning and substitutes in 'N' for motifs not specified:

NonPairingMotifs  (1)

Gives warning if structure contains invalid bonds after substituting in motif sequences: