Page History
...
Section | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Vocabulary Administration Overview
A set of administrative shell scripts are provided to manage the LexEVS Service. These scripts are provided for Windows (.bat) and Linux (.sh) operating systems and call wrapper classes for LexEVS administration API classes. These scripts are located in the {LEXBIG_DIRECTORY}/admin and {LEXBIG_DIRECTORY}/test directory. A full description of the options with an example is provided for each command line script.
If you are loading a large vocabulary such as SNOMED or the NCI Metathesaurus, then we recommend the use of these scripts over the GUI since adjusting system memory requirements can be accomplished by changing the load script with a text editor.
Coding Scheme Metadata Access and Administration
...
Shell Script
...
Use and Function
...
ActivateScheme
Activates a coding scheme based on unique URN and version.
Options:
...
Code Block |
---|
ActivateScheme -u "urn:oid:2.16.840.1.113883.3.26.1.1" -v "05.09e" |
...
DeactivateScheme
Deactivates a coding scheme based on unique URN and version.
Options:
...
Code Block |
---|
DeactivateScheme -u "urn:oid:2.16.840.1.113883.3.26.1.1" -v "05.09e" -d "01/31/2099,12:00:00 |
...
ListExtensions
List registered extensions to the LexEVS runtime environment.
Options:
...
Code Block |
---|
ListExtensions -a |
...
ListSchemes
List all currently registered vocabularies.
Options:
...
TagScheme
Associates a tag ID (e.g. 'PRODUCTION' or 'TEST') with a coding scheme URN and version.
Options:
...
Code Block |
---|
TagScheme -u "urn:oid:2.16.840.1.113883.3.26.1.1" -v 05.09e" -t "TEST" |
Lucene Index Administration
...
Shell Script
...
Use and Function
...
CleanUpLuceneIndex
Clean up orphaned indexes.
Options:
...
-r, -reindex, Reindex any missing indices.
Info | ||
---|---|---|
| ||
Lucene Clean Up can only be executed in the default Single Index Mode. |
...
Code Block |
---|
CleanUPLuceneIndex -r |
...
OptimizeLuceneIndex
...
Optimizes the Common Lucene Index.
Options:
- -h, -help, Prints usage information
...
RebuildIndex
Rebuilds indexes associated with the specified coding scheme.
Options:
...
Code Block |
---|
RebuildIndex -u "urn:oid:2.16.840.1.113883.3.26.1.1" -v "05.09e" -i "myindex" |
...
RemoveIndex
Clears an optional named index associated with the specified coding scheme.
Info | ||
---|---|---|
| ||
Built-in indices required by the LexEVS runtime cannot be removed. |
Options:
...
Code Block |
---|
RemoveIndex -u "urn:oid:2.16.840.1.113883.3.26.1.1" -v "05.09e" |
Misc Database Administration Scripts
...
Shell Script
...
Use and Function
...
ExportDDLScripts
Exports the database create/drop scripts.
Options:
...
Code Block |
---|
ExportDDLScripts -p lb -0 "file:///path/to/dir" -f |
...
PasswordEncryptor
...
Encrypts the given password.
Argument:
-p,-password password for encryption.
Example:Code Block PasswordEncryptor -p lexgrid
LexEVS Export Scripts
...
Shell Script
...
Use and Function
...
ExportLgXML
Exports content from the repository to a file in the LexGrid canonical XML format.
Usage:
ExportLgXML [-xc] [-an null] [-xall] -v null -u name -out uri [-xa] [-f]
...
Code Block |
---|
ExportLgXML -out "file:///path/to/dir" -u "NCI Thesaurus" -v "05.06e" -f |
...
ExportOBO
Exports content from the repository to a file in the Open Biomedical Ontologies (OBO) format.
Options:
...
-f,-force If specified, allows the destination file to be overwritten if present.
Info | ||
---|---|---|
| ||
If the coding scheme and version values are unspecified, a list of available coding schemes will be presented for user selection. |
...
Code Block |
---|
ExportOBO -out "file:///path/to/dir" -nf -f |
Code Block |
---|
ExportOBO -out "file:///path/to/dir" -u "FBbt" -v "PRODUCTION" -nf -f |
...
ExportOwlRdf
Exports content from the repository to a file in OWL format.
Options:
...
-f,-force If specified, allows the destination file to be overwritten if present.
Info | ||
---|---|---|
| ||
If the URN and version values are unspecified, a list of available coding schemes will be presented for user selection. |
...
Code Block |
---|
ExportOwlRdf -out "file:///path/to/dir" -f |
...
LexEVS Loader Scripts
Shell Script | Use and Function | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
LoadLgXMLLoads | Loads a vocabulary file , provided in LexGrid canonical xml specified in the Medical Dictionary for Regulatory Activities (MedDRA) format. Options:
Example: LoadMedDRA -in "file:///path/to/file.asc" -a LoadMedDRA -in "file:///path/to/file.asc" -v 0
| |||||||||
LoadNCIHistory | Imports NCI History data to the LexEVS repository.
| |||||||||
LoadOBO | Loads a file specified in the Open Biomedical Ontologies (OBO) format.
| |||||||||
LoadOWL | Loads an OWL file.
Options:
| |||||||||
LoadRadLexProtegeFrames | URI or path specifying location of the pprj file. Imports from a RadLex xml file to a LexBIG repository. Requires that the pprj file be configured with reference to a RadLex xml file as follows:
Example:
| |||||||||
LoadUMLSSemnet | Loads the UMLS Semantic Network, provided as a collection of files in a single directory. The following files are expected to be provided from the National Library of Medicine (NLM) distribution:
| |||||||||
LoadFMA | Imports from an FMA database to a LexEVS repository. Requires that the pprj file be configured with a database URN, username, password for an FMA MySQL based database. The FMA.pprj file and MySQL dump file are available at http://sig.biostr.washington.edu/projects/fm/ upon registration.
| |||||||||
LoadHL7RIM | Converts an HL7 RIM MS Access database to a LexGrid database
| |||||||||
LoadMetaData | Loads optional XML-based metadata to be associated with an existing coding scheme.
| |||||||||
LoadMrMap | Loads mappings file(s), provided in UMLS RRF format. Specifically MRMAP.RRF and MRSAT.RRF.
|
...