ecl-logo Documentation

StrandFlatten

StrandFlatten[str]consolidated

takes a strand and joins consecutive stretches of like polymer types into single polymers.

Details

  • Looses motif information upon joining regions.
  • Useful for conducting physical analysis where gaps in polymers lead to differences in calculations.
  • Input
    Output

Examples

Basic Examples  (3)

Joins consecutive stretches of like polymer types:

Includes modifications in the output Strand:

Does not join separated stretches of a polymer type:

Additional Examples  (1)

Works with wildcard sequences: