ExplicitlyType
ExplicitlyType[seq]⟹typed
either removes or adds explicit typing to the sequence on the basis of the options.
ExplicitlyType[typeTemplate,seq]⟹typed
either removes or adds explicit typing to the ouput on the basis of the typing of the input sequence and the options.
Details
Input
Output
General Options
Examples
Basic Examples (4)
The function can be used to safely wrap a sequences in its Polymer type:
The function can also be used to safely strip off the polymer type:
If given two sequences, the typing status of the first sequence will serve as the template for weather or not to type the second sequence:
So if the first sequence lacks an explict type, it will strip off the typing from the second sequence:
Additional Examples (6)
Even when the polymer type is already absent, its safe to request it be stripped off:
Explicitly typeing sequences which already have type is a safe operation:
The function will attempt to implicitly determine the polymer type if one is not provided:
Can automatically determine any non-ambigious polymer type:
If there is any ambiguity, it will assume DNA by default:
If there is any motif name present, it will preserve the name:
Options (3)
ExplicitlyTyped (2)
Messages (2)
Possible Issues (3)
If requested to stripe the type from a numeric sequence, uses the Wildcard monmer definition to Convert to a equivelent string:
This works regardless of the Wildcard monomer definition for the polymer:
Will attempt to match the typeTemplate's type to the output type and thus requires the polymers to be the same for both: