Help:Annotation Pipeline: Difference between revisions

From EcoliWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{NeedsEditing}}
==Overview==
Each quarter [[EcoliWiki]] incorporates the ''E. coli'' annotations from [[EcoCyc]] into our website. Upon each [[EcoCyc]] release the annotations are parsed and loaded into the wiki using automated scripts. This is reflected in the montly annotation file submitted to the [[Help:Gene_ontology|Gene Ontology]] each month.


==Detailed Description==
; Obtain the latest [[EcoCyc]] release
: Quarterly annotations are fetched from [[EcoCyc]] and parsed for validity.


; Calculate the changes
: The most recent release is compared to the previous release and two files are generated:
:# <tt>differences.lost.gaf</tt>
:# <tt>differences.gained.gaf</tt>
: These two files contain the annotatations (in [http://www.geneontology.org/GO.format.gaf-1_0.shtml GAF 1.0] format) that have been lost or gained since the last release, respectively.
; Use a script to add/remove annotations from [[EcoliWiki]]
: A [[wikipedia:PHP|PHP]] script adds and removes the annotations from the wiki based on the file.
: Specifically, does the following things:
:# looks in the <tt>differences.lost.gaf</tt> file
:# determines which gene products need annotations removed
:# visits those pages in the wiki
:# finds the annotation to remove from the [[Help:Gene_ontology|Gene Ontology]] table
:# saves the page to commit the edit
:# does the same steps for adding annotations
==Known Issues==
* A number of ''old'' annotations are still in [[EcoliWiki]]. These were added early in the life of [[EcoliWiki]], and were not tagged with the appropriate metadata that allows us to add/delete annotations. These are spurious and do not contribute to the total set of annotations, as these annotations could be out of date or incorrect.


==See Also==
==See Also==
* [[Help:Gene Association File]]
* [[Help:Gene Association File]]
[[Category:Help]]

Latest revision as of 20:01, 15 June 2010

Overview

Each quarter EcoliWiki incorporates the E. coli annotations from EcoCyc into our website. Upon each EcoCyc release the annotations are parsed and loaded into the wiki using automated scripts. This is reflected in the montly annotation file submitted to the Gene Ontology each month.

Detailed Description

Obtain the latest EcoCyc release
Quarterly annotations are fetched from EcoCyc and parsed for validity.
Calculate the changes
The most recent release is compared to the previous release and two files are generated:
  1. differences.lost.gaf
  2. differences.gained.gaf
These two files contain the annotatations (in GAF 1.0 format) that have been lost or gained since the last release, respectively.
Use a script to add/remove annotations from EcoliWiki
A PHP script adds and removes the annotations from the wiki based on the file.
Specifically, does the following things:
  1. looks in the differences.lost.gaf file
  2. determines which gene products need annotations removed
  3. visits those pages in the wiki
  4. finds the annotation to remove from the Gene Ontology table
  5. saves the page to commit the edit
  6. does the same steps for adding annotations

Known Issues

  • A number of old annotations are still in EcoliWiki. These were added early in the life of EcoliWiki, and were not tagged with the appropriate metadata that allows us to add/delete annotations. These are spurious and do not contribute to the total set of annotations, as these annotations could be out of date or incorrect.

See Also