Synonym
- class pyobo.Synonym(name, specificity='EXACT', type=None, provenance=<factory>)[source]
Bases:
object
A synonym with optional specificity and references.
Attributes Summary
The specificity of the synonym
The type of synonym.
Methods Summary
to_obo
()Write this synonym as an OBO line to appear in a [Term] stanza.
Attributes Documentation
-
specificity:
Literal
['EXACT'
,'NARROW'
,'BROAD'
,'RELATED'
] = 'EXACT' The specificity of the synonym
-
type:
Optional
[SynonymTypeDef
] = None The type of synonym. Must be defined in OBO document!
Methods Documentation
-
specificity: