ecl-logo Documentation

PolymerType

PolymerType[seq]polymer

determines the posible polymer type that seq could be composed of.

Details

  • Tries in the order DNAQ, then RNAQ, then PNAQ, then PeptideQ, then ModificationQ, so if multiple of these are true for the provide sequence returns only the first one in the list.
  • Input
    Output
    General Options
    Messages
  • missMatchPolymerProvided sequence `1` does not match provided Polymer type `2`

Examples

Basic Examples  (3)

Given a sequence, will attempt to determine what Polymer typ eit might be:

Given a sequence, will attempt to determine what Polymer type it might be:

When provided with a Strand, returns a list of Polymers for each run of sequence:

Additional Examples  (2)

Works on explicitly typed sequences as well:

Works on degenerate sequences as well:

Options  (7)

Consolidate  (2)

If Consolidate is set to True, stretches of sequenes of like polymers will be consolidated into a single entry:

If Consolidate is set to False, a polymer type is returned for each sequence in the Strand:

Map  (2)

If Map is set to True, listability will work as expected by maping over the inputs:

If Map is set to False, the function will return a single polymer that could match all of the provided input:

Polymer  (3)

Providing a Polymer option will suggest what polymer type should return:

Not providing a Polymer option will return default polymer types:

Providing a Polymer option will suggest what polymer type should return:

Attributes  (1)

Listable  (1)

The function is listable:

Messages  (5)

missMatchPolymer  (3)

If the provided sequence does not match the provided Polymer option, the missMatchPolymer message is thrown:

If the provided sequence does not match the head, the missMatchPolymer message is thrown:

If the provided sequence does not match the head, the missMatchPolymer message is thrown:

unConsensus  (1)

If the map option is True but the polymer types are not consensus, the unConsensus message is thrown:

unknownPolymer  (1)

If the sequences does not match any of the known polymer types, the unknownPolymer message is thrown:

Possible Issues  (2)

If ambigious what polymer type the sequence could be, the function will default to DNA:

Providing a polymer option can be used to disambiguate: