Life Stage

From WormBaseWiki
Jump to navigationJump to search

Life_Stage Data Model

////////////////////////////////////////////////////////////////////////////////////

?Life_stage   Public_name UNIQUE Text   //added by Daniela 120509
              Contains Cell ?Cell XREF Life_stage
                   Cell_group ?Cell_group XREF Life_stage
                   Anatomy_term ?Anatomy_term XREF Life_stage
                   Sub_stage ?Life_stage XREF Contained_in
              Contained_in ?Life_stage XREF Sub_stage            // changed for Wen 010516
              Preceded_by ?Life_stage XREF Followed_by
              Followed_by ?Life_stage XREF Preceded_by
              Expr_pattern ?Expr_pattern XREF Life_stage
              Remark	?Text #Evidence               
               Definition ?Text // added for Wen [020607 krb]
               Other_name ?Text // added for Wen [020607 krb]
               Reference ?Paper XREF Life_stage 
               Curated_by UNIQUE Text // added for Sylvia [010928 krb]
              
            
///////////////////////////////////////////////////////////////////////////////////


obo file

https://raw.github.com/draciti/Life-stage-obo/master/worm_development.obo

Life_Stage

Originally Life_stage objects were stored as names. In May 2012 Caltech decided to switch Life_stage objects from names to IDs. In order to do that we need a model change to store the original name (see model).

All data types that were using Life_stage had to be modified and dumped into Ids instead of names

  • Phenotype -Karen
  • Process -Karen
  • RNAi -Chris
  • gene regulation -Xiaodong
  • gene expression -Daniela
  • Anatomy_term -Raymond
  • Expression Cluster -Wen
  • Condition -Wen & Gary W
  • Strain -Mary Ann

Life_Stage tags

tags used in Life_stage extracted from the Life_Stage. ace dump that I got from Wen on May 9th 2012

  • Definition
  • Anatomy_term
  • Reference
  • Other_name
  • Expr_pattern
  • Contained_in -> Change data into IDs
  • Cell_group
  • Sub_stage -> Change data into IDs
  • Cell
  • Followed_by -> Change data into IDs
  • Remark -> goid: WBls could be deleted because will be redundant with IDs
  • Preceded_by -> Change data into IDs


Action items

.ace file to modify located here: /home/acedb/draciti/Life_stage and is named Life_stageWS230.ace

Modify the .ace dump as follows

1) Object should be replaced with ID instead of name using the mapping table

2) A new tag called Public_name should be added and should contain the name that was previously the object name

3) the following tags should be replaced with ID instead of name

  • Contained_in
  • Followed_by
  • Precede_by
  • Sub_stage

4) The lines containing Remark "goid: WBls:#######" should be deleted


Mapping table is here http://tazendra.caltech.edu/~azurebrd/var/work/lifestage

script at : /home/acedb/draciti/Life_stage/parse.pl output goes to script. Errors from lack of mappings are in the file. current output in file "out"


the script that updates the OA runs at 8pm every day and is at /home/postgres/work/pgpopulation/obo_oa_ontologies/update_obo_oa_ontologies.pl

gets the data from here https://raw.github.com/draciti/Life-stage-obo/master/worm_development.obo

The script runs when the date in the obo file changes.

Deleting terms

In WS230 the following terms were used in Citace Minus but were not present in the obo file:

L1 Larva Male L2 Larva male L3 Larva male

the last term generated was L4 Larva male:

[Term]
id: WBls:0000073
name: L4 larva male
def: "The fourth stage larva male. At 25 Centigrade\, it ranges 40-49.5 hours after fertilization\, 26-35.5 hours after hatch." [wb:wjc]
is_a: WBls:0000038 ! L4 larva


I could have added the following but Raymond suggested to leave the sex distinction out of the ontology. We are therefore NOT adding these new terms. Checked in the Life stage WS230 dump -> no data associated with these terms, we could delete them from the obo file and modify citace minus accordingly. Waiting for Wen's feedback -> OK. I deleted the 3 L1 Larva Male, L2 Larva male, L3 Larva male, L4 larva hermaphrodite, mixed, mixed stage terms from Citace Minus

Deposited on spica (Data for CitaceMinus) the file Life_stageD with the corrections and the Name_to_ID change. (05152012DR) Create terms for one cell embryo and oocyte?

Adding terms

Added 11-15 days post-L4 adult hermaphrodite using obo edit as per Wen Chen request (WBPaper38462).

id: WBls:0000074
name: 11-15 days post-L4 adult hermaphrodite
def: "At 20 Centigrade\\: 11-15 days after L4-adult molt. 14-18 days after first
cleavage." [wb:dr]
is_a: WBls:0000057 ! adult hermaphrodite
created_by: danielaraciti
creation_date: 2012-05-22T14:35:04Z

set up crosstalk between obo file and citace

Added preceded_by relationships in the obo file using the dump "LS_Preceded_by.ace" provided by Wen -DR. Added additional preceded_by relationships that were not in the file-DR. The file is located on Lario here /Users/danielaraciti/Desktop/Life_stage/Relationships.

The conversion from obo to .ace should be as follows


OBO
id: WBls:0000007
name: 2-cell embryo
def: "0-20min after first cleavage at 20 Centigrade.  Contains 2 cells." [wb:wjc]
is_a: WBls:0000005 ! blastula embryo
relationship: preceded_by WBls:0000006 ! 1-cell embryo


.ace
Life_stage : "WBls:0000007"
Public_name	 "2-cell embryo"
Definition	 "0-20min after first cleavage at 20 Centigrade.  Contains 2 cells."
Contained_in	 "WBls:0000005"
Preceded_by	 "WBls:0000006"


  • script at :

/home/acedb/draciti/Life_stage/lifestageAceFromObo.pl

  • generates :

/home/acedb/draciti/Life_stage/lifestage.ace

Here's the relevant matching :
    if ($obj =~ m/id: (WBls:\d+)/) { $id = $1;
      $ace .= qq(Life_stage : "$id"\n);
      if ($obj =~ m/name: (.*)/) { $ace .= qq(Public_name\t"$1"\n); }
      if ($obj =~ m/def: "(.*)"/) { $ace .= qq(Definition\t"$1"\n); }
      if ($obj =~ m/is_a: (WBls:\d+)/) { $ace .= qq(Contained_in\t"$1"\n); }
      if ($obj =~ m/relationship: preceded_by (WBls:\d+)/) { $ace .=
qq(Preceded_by\t"$1"\n); }
      $ace .= qq(\n);

meaning :
- the id is the WBls
- the name is everything
- the def is what's in quotes
- the is_a is the WBls
- the relationship is the WBls and it must say "relationship: precededby WBls:\d+"


It always downloads the .obo file from the URL https://raw.github.com/draciti/Life-stage-obo/master/worm_development.obo, and always regenerates the .ace file.

Daniela runs the script at each upload and deposits the .ace file to citace


other species

please list below the life stages that have been used in the literature for other species. This list will be periodically revised in order to expand the life stage ontology

  • C. briggsae
    • ...
  • C. japonica
    • ...
  • C. remanei
    • ...
  • C. sp11
    • ...
  • P. pacificus
    • ...
  • A. suum
    • ...