Ambiguous monomer template¶
A monomer that is one of several monomers, or a mixture of them: each option names a monomer template.
Its class is the class its options share, and its attachment points are those all of its options have.
Appears in¶
A top-level value under the key ambiguousMonomerTemplate-<id> of the Document, listed in root.templates.
Identified by¶
"type": "ambiguousMonomerTemplate".
Attributes¶
type¶
Type: string
Required: yes
Values:
"ambiguousMonomerTemplate"
Object type; always ambiguousMonomerTemplate.
id¶
Type: string
Required: yes
Identifier of the template, unique among the ambiguous monomer templates of the document; ambiguous monomers refer to it by templateId.
subtype¶
Type: string
Required: yes
Values: Ambiguous monomer subtype
Whether the monomer is one of the options or a mixture of them.
alias¶
Type: string
Required: yes
Symbol that labels the monomer, such as X or %.
options¶
Type: array of object
Required: yes
Items: at least 2
The monomers this one may be or may contain.
options.templateId¶
Type: string
Required: yes
The id of the monomer template of this option.
options.probability¶
Type: number
Required: no
Values: at least 0
In an alternatives template: how likely this option is; omitted when unknown.
options.ratio¶
Type: number
Required: no
Values: at least 0
In a mixture template: the relative amount of this option; omitted when unknown.
idtAliases¶
Type: IDT aliases
Required: no
The monomer’s codes in the IDT notation of oligonucleotides.
Rules¶
type,id,subtype,aliasandoptionsare required.The template’s key is
ambiguousMonomerTemplate-followed by itsid, androot.templateslists it.Every option’s
templateIdis theidof a monomer template thatroot.templateslists.The options of an
alternativestemplate give noratio, and those of amixturetemplate noprobability.