Generic function GET-CONTAINER-TERMS
get-container-terms go-handle accession => container-term-objects
Arguments and Values:
go-handle---an object of type go-handle
The generic function get-container-terms is used to find all parents of a term using the part-of hierarchy. It takes two parameters, go-handle, to preserve the session, and accession to identify the term whose parents to find. It returns a list of objects of type TERM
get-container-terms (go-handle-object go-handle) (accession string) => container-term-objects
cl-prompt: (godb:get-container-terms mygohandle "GO:0046782") (#<CL-GODB:TERM 2060ED1C>) describe (first *) #<CL-GODB:TERM 2060ED1C> is a CL-GODB:TERM TERM-ID 9888 NAME "viral transcription" ACCESSION CL-GODB::GO\:0019083 TERM-TYPE "process" DEFINITION #<unbound slot> IS-OBSOLETE 0 IS-ROOT 0 IS-A NIL PART-OF NIL CHILDREN NIL COMPONENTS NIL
This function finds the ids for all parents of the input accession then it checks if they are already in the hash table. If they are not, they are then added. In both cases, the "part-of" slot of the child's term object is filled with a list of references to the parents' term objects.
News in chronological order, most recent on top.