NCI Thesaurus vocabulary
This section describes the steps to download and install a full version of the NCI Thesaurus for the LexEVS Service.
Step |
Action |
---|---|
1 |
Using a web or ftp client go to the URL: ftp://ftp1.nci.nih.gov/pub/cacore/EVS/
|
2 |
Select the version of NCI Thesaurus OWL you wish to download. Save the file to a directory on your machine. |
3 |
Extract the OWL file from the zip download and save in a directory on your machine. This directory will be referred to as NCI_THESAURUS_DIRECTORY |
4 |
Using the LexEVS utilities load the NCI Thesaurus cd {LexBIG_DIRECTORY}/admin For Windows installation use the following command LoadOWL.bat –in "file:///{NCI_THESAURUS_DIRECTORY}/Thesaurus_10.10d.owl For Linux installation use the following command LoadOWL.sh –in "file:///{NCI_THESAURUS_DIRECTORY}/Thesaurus_10.10d.owl Note:title=Note}The NCI Thesaurus has grown large enough that it can no longer be loaded on many typical desktop machines. We recommend a 64-bit operating system running on a multiprocessor computer with a minimum of 4g of memory. Server class Linux machines are the typical target for these loads. The time to load NCI Thesaurus will vary depending on machine, memory, and disk speed. Expect a couple of hours for a higher end machine. *Example output from load of NCI Thesaurus 05.12f* … h3. NCI Metathesaurus vocabulary h4. Loading the Metathesaurus This section describes the steps to download and install a full version of the NCI Metathesaurus for the LexEVS Service. || Step || Action || | 1 | Using a web or ftp client go to the URL: ftp://ftp1.nci.nih.gov/pub/cacore/EVS/ !Ftp_Client.jpg|alt="screenshot of FTP directory" | | 2 | Select the version of NCI Metathesaurus RRF you wish to download. Save the file to a directory on your machine. | 3 | Extract the RRF files from the zip download and save in a directory on your machine. This directory will be referred to as NCI_METATHESAURUS_DIRECTORY. {info:title=Note}{RELASE_INFO.RRF is required to be present for the load utility to work.{info} | 4 | Using the LexEVS utilities load the NCI Thesaurus: Unknown macro: {LexBIG_DIRECTORY}
/admin For Windows installation use the following command: LoadMetaBatch.bat –in "file:/// Unknown macro: {NCI_METATHESAURUS_DIRECTORY}
/" For Linux installation use the following command: LoadMetaBatch.sh –in "file:/// Unknown macro: {NCI_THESAURUS_DIRECTORY}
/" | {note:title=Note}NCI Metathesaurus contains many individual vocabularies some of which are large vocabularies in and of themselves. It requires many hours to load and index. It can require 36 hours on a multiprocessor machine with 6g plus memory. The total time to load NCI MetaThesaurus will vary depending on machine, memory, and disk speed. Because this loader uses a batch loading strategy it is less dependent on memory, but some users will see 3 or 4 day load times with average multiprocessor processing power.{note} h4. Resuming Loads Since this loader is resource hungry we provide the option to restart should you find your resource settings to be inadequate. Resuming loads which have crashed or been interrupted by server problems is possible using the ResumeBatchLoad script set. || Step || Action || | 1 | Using the LexEVS utilities load the NCI Thesaurus: /admin For Windows installation use the following command: ResumeMetaBatch.bat –in "file:/// Unknown macro: {NCI_METATHESAURUS_DIRECTORY}
/" -s "NCI Metathesaurus" -uri "urn:oid:2.16.840.1.113883.3.26.1.2" -version "200601" For Linux installation use the following command: ResumeMetaBatch.sh –in "file:/// Unknown macro: {NCI_THESAURUS_DIRECTORY}
/" -s "NCI Metathesaurus" -uri "urn:oid:2.16.840.1.113883.3.26.1.2" -version "200601" | h3. NCI History This section describes the steps to download and install a history file for NCI Thesaurus. || Step || Action || | 1 | Using a web or ftp client go to the URL: ftp://ftp1.nci.nih.gov/pub/cacore/EVS/ | | 2 |Select the version of NCI History you wish to download. Save the file to a directory on your machine. Select the VersionFile download to the same directory as the history file. | | 3 | Extract the History files from the zip download and save in a directory on your machine. This directory will be referred to as NCI_HISTORY_DIRECTORY | | 4 | Using the LexEVS utilities load the NCI Thesaurus: cd Unknown macro: {LexBIG_DIRECTORY}
/admin For Windows installation use the following command: LoadNCIHistory.bat –nf –in "file:/// Unknown macro: {NCI_HISTORY_DIRECTORY}
" –vf “file:///NCI_HISTORY_DIRECTORY}/VersionFile” For Linux installation use the following command: LoadNCIHistory.sh –nf –in "file:/// " –vf “ file:///NCI_HISTORY_DIRECTORY}/VersionFile” |
Note
If a 'releaseId' occurs twice in the file, the last occurrence will be stored. If LexEVS already knows about a releaseId (from a previous history load), the information is updated to match what is provided in the file.
This file has to be provided to the load API on every load because you will need to maintain it in the future as each new release is made. We have created this file that should be valid as of today from the information that we found in the archive folder on your ftp server. You can find this file in the 'resources' directory of the LexEVS install. |