![]() |
OpenMS
|
Loads ResidueModification data from an OBO ontology file (PSI-MOD or XLMOD). More...
#include <OpenMS/CHEMISTRY/OBODataProvider.h>
Public Member Functions | |
| OBODataProvider (const String &filename, bool cross_links_only=false) | |
| std::vector< std::unique_ptr< ResidueModification > > | loadModifications () override |
| Load modifications from whatever source this provider wraps. | |
Public Member Functions inherited from ModificationDataProvider | |
| virtual | ~ModificationDataProvider ()=default |
Private Attributes | |
| String | filename_ |
| bool | cross_links_only_ |
Loads ResidueModification data from an OBO ontology file (PSI-MOD or XLMOD).
Parses OBO format files and returns modifications as unique_ptr. The cross_links_only flag controls filtering:
|
explicit |
| filename | Path to an OBO file (resolved via File::find) |
| cross_links_only | If true, return only cross-linkers; if false, exclude them |
|
overridevirtual |
Load modifications from whatever source this provider wraps.
Implements ModificationDataProvider.
|
private |
|
private |