AlvisNLP

corpus processing engine

OBOMapper

Synopsis

Maps names and synonyms of terms defined in OBO files.

Description

OBOMapper maps names and synonyms of terms described in oboFiles on target .

Snippet

<obomapper class="OBOMapper">
    <form></form>
    <oboFiles></oboFiles>
    <target></target>
</obomapper>

Mandatory parameters

form

Mandatory
Type: Expression

Expression evaluated as a string with the target element as context that specifies the target key.

oboFiles

Mandatory

Paths to the OBO files to map.

target

Mandatory
Type: Expression

Expression evaluated as a list of elements with the corpus as context that specify the elements to be mapped.

Optional parameters

altPathFeatures

Optional

UNDOCUMENTED

ancestorsFeature

Optional
Type: String

Name of the feature where to store the term ancestors ids.

childrenFeature

Optional
Type: String

Name of the feature where to store the term children ids.

idFeature

Optional
Type: String

Name of the feature where to store the term id.

nameFeature

Optional
Type: String

Name of the feature where to store the term name.

parentsFeature

Optional
Type: String

Name of the feature where to store the term parents ids.

pathFeature

Optional
Type: String

Name of the feature where to store the term id path from the root.

synonymsFeature

Optional
Type: String

Name of the feature where to store the term synonyms.

versionFeature

Optional
Type: String

Name of the feature where to store the ontology version.

idKeys

Default value: `false`
Type: Boolean

Map the term keys instead of name and synonyms

ignoreCase

Default value: `false`
Type: Boolean

Either to match ignoring the case.

keepDBXref

Default value: `false`
Type: Boolean

Either to store term dbxrefs. Dbxrefs are stored in features that match the database name.

operator

Default value: `exact`

Matching operator: either exact (default) or prefix.

Deprecated parameters