Tripal v1.0 (6.x-1.0)
obo_loader.inc File Reference

Go to the source code of this file.

Functions

 tripal_cv_obo_form (&$form_state=NULL)
 tripal_cv_obo_form_submit ($form, &$form_state)
 tripal_cv_cvtermpath_form ()
 tripal_cv_load_obo_v1_2_id ($obo_id, $jobid=NULL)
 tripal_cv_load_obo_v1_2_file ($obo_name, $file, $jobid=NULL, $is_new=TRUE)
 tripal_cv_load_obo_v1_2_url ($obo_name, $url, $jobid=NULL, $is_new=TRUE)
 tripal_cv_load_update_cvtermpath ($newcvs, $jobid)
 tripal_cv_load_obo_add_ref ($name, $path)
 tripal_cv_load_obo_v1_2 ($file, $jobid=NULL, &$newcvs)
 tripal_cv_obo_quiterror ($message)
 tripal_cv_obo_process_terms ($defaultcv, $jobid=NULL, &$newcvs, $default_db)
 tripal_cv_obo_process_term ($term, $defaultcv, $is_relationship=0, &$newcvs, $default_db)
 tripal_cv_obo_add_relationship ($cvterm, $defaultcv, $rel, $objname, $object_is_relationship=0, $default_db= 'OBO_REL')
 tripal_cv_obo_get_term ($id)
 tripal_cv_obo_add_synonyms ($term, $cvterm)
 tripal_cv_obo_parse ($obo_file, &$header, $jobid)
 tripal_cv_obo_add_cvterm_dbxref ($cvterm, $xref)
 tripal_cv_obo_add_cvterm_prop ($cvterm, $property, $value, $rank)
 tripal_cv_obo_add_dbxref ($db_id, $accession, $version='', $description='')

Detailed Description

Tripal Ontology Loader

Definition in file obo_loader.inc.


Function Documentation

tripal_cv_load_obo_add_ref ( name,
path 
)

Add the obo to the tripal_cv_obo table in the Drupal database

Definition at line 289 of file obo_loader.inc.

                                                  {
  $isql = "INSERT INTO {tripal_cv_obo} (name,path) VALUES ('%s','%s')";
  db_query($isql, $name, $path);
}
 All Classes Files Functions Variables