org.LexGrid.LexBIG.admin
Class LoadUMLSSemnet

java.lang.Object
  extended by org.LexGrid.LexBIG.admin.LoadUMLSSemnet

public class LoadUMLSSemnet
extends java.lang.Object

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:

   - LICENSE.txt (text from distribution terms and conditions)
   - SRFIL.txt (File Description)
   - SRFIL.txt (Field Description)
   - SRDEF.txt (Basic information about the Semantic Types and Relations)
   - SRSTR.txt (Structure of the Network)
   - SRSTRE1.txt (Fully inherited set of Relations (UIs))
   - SRSTRE2.txt (Fully inherited set of Relations (Names))
   - SU.txt (Unit Record)
 These files can be downloaded from the NLM web site at
 http://semanticnetwork.nlm.nih.gov/Download/index.html.
 Options:
   -in,--input <uri> URI or path of the directory containing the NLM files
   -mf,--manifest <uri> URI or path specifying location of the manifest file
   -il,--inheritance level <uri> If specified, indicates the extent of inherited relationships to import.  
         0 = none; 1 = all; 2 = all except is_a (default).  
         All direct relationships are imported, regardless of option.
   -v, --validate <int> Perform validation of the candidate
         resource without loading data.  If specified, the '-a' and '-t'
         options are ignored.  Supported levels of validation include:
         0 = Verify the existence of each required file
   -a, --activate ActivateScheme on successful load; if unspecified the vocabulary is loaded but not activated
   -t, --tag <id> An optional tag ID (e.g. 'PRODUCTION' or 'TEST') to assign.
 Example: LoadUMLSSemnet -in "file:///path/to/directory/" -a -il 1
        LoadUMLSSemnet -in "file:///path/to/directory/" -v 0
 
 

Author:
Thomas Johnson

Constructor Summary
LoadUMLSSemnet()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void run(java.lang.String[] args)
          Primary entry point for the program.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadUMLSSemnet

public LoadUMLSSemnet()
Method Detail

main

public static void main(java.lang.String[] args)

run

public void run(java.lang.String[] args)
         throws java.lang.Exception
Primary entry point for the program.

Throws:
java.lang.Exception

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.