Difference between revisions of "Life Stage"

From WormBaseWiki
Jump to navigationJump to search
Line 310: Line 310:
  
 
=== Nematode Lifecycles ===
 
=== Nematode Lifecycles ===
 +
 +
==== Entomopathogenic nematodes ====

Revision as of 09:08, 28 January 2014

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 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


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. 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

conversion from obo to .ace

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.


-D Citace Minus

Discuss with Wen what is best to do for the -D file to submit to CitaceMinus. Daniela dumped the Life stage class from citace (file life_stage111213.ace) and -D all the lines that were present in the lifestage.ace generated by Juancarlos' script. All files are on lario here: /Users/danielaraciti/Desktop/Life_stage/DashD_november_2013 (life_stage111213.ace, lifestage.ace, and DashD_life_stage111213.ace)

If you decide to move away from citace minus completely, remark in Citace Minus could be stored in Comment in OBO edit and the comment in OBO edit should then be dumped as remark from Juancarlos' script. Same thing for othername, could go into synonyms and then dumped as other name.

One option would be to remove the whole class from citace minus. In this way we can rely just on the obo file and run the script that converts into .ace, then upload the lifestage.ace on citace at each upload.

In order to do that we should check that all tags are being converted in the .ace file

  • Definition ->  in OBO file
  • Public_name ->  in OBO file
  • Contained_in ->  in OBO file
  • Preceded_by ->  in OBO file
  • Followed_by ->  populated via acedb
  • Sub_stage -> populated via aced
  • Anatomy_term -> populated through the Anatomy_term class?
  • WBProcess -> populated through the Process class?
  • Reference -> populated how?
  • Expr_pattern  -> populated through the Expression pattern class?
  • Cell_group is this coming from the cell group class?
  • Cell is this coming from the cell class?

There are few tags not accounted in the obo file (Anatomy_term, Reference, Cell_group, Cell). So we have decided to keep the class in citace minus and add-remove as needed.


Synonym -> Other_name
synonym: ""
should convert in
Other_name	 ""
Comment -> Remark
comment: 
should convert in 
Remark	 ""

other species

generic terms for other species -i.e. non C.elegans, non B. Malayi


Life_stage : "WBls:0000101"
Public_name	"all stages"
Definition	"All developmental stages, including embryo, larva and adult stage."
Contained_in	"WBls:0000075"

Life_stage : "WBls:0000102"
Public_name	"embryo"
Definition	"The whole period of embryogenesis, from the formation of an egg till its hatch."
Contained_in	"WBls:0000101"

Life_stage : "WBls:0000103"
Public_name	"postembryonic"
Definition	"The stage after hatch till death."
Contained_in	"WBls:0000101"
Preceded_by	"WBls:0000102"

Life_stage : "WBls:0000104"
Public_name	"adult"
Definition	"The stage after an animal is fully-developed and reaches maturity."
Contained_in	"WBls:0000103"
Preceded_by	"WBls:0000105"

Life_stage : "WBls:0000105"
Public_name	"larva"
Definition	"From the time after hatch till becomes adult."
Contained_in	"WBls:0000103"

Life_stage : "WBls:0000106"
Public_name	"L1 larva"
Definition	"The first stage larva."
Contained_in	"WBls:0000105"
Preceded_by	"WBls:0000110"

Life_stage : "WBls:0000107"
Public_name	"L2 larva"
Definition	"The second stage larva."
Contained_in	"WBls:0000105"
Preceded_by	"WBls:0000106"

Life_stage : "WBls:0000108"
Public_name	"L3 larva"
Definition	"The third stage larva."
Contained_in	"WBls:0000105"
Preceded_by	"WBls:0000107"

Life_stage : "WBls:0000109"
Public_name	"L4 larva"
Definition	"The fourth stage larva."
Contained_in	"WBls:0000105"
Preceded_by	"WBls:0000108"

Life_stage : "WBls:0000110"
Public_name	"sheathed microfilaria"
Definition	"Microfilaria is the stage which develops from the egg and precedes the L1 stage. The larvae are surrounded by a membrane thought to be derived from the vitelline membrane."
Contained_in	"WBls:0000105"

Further additions

please list below the life stages that have been described or used in the literature for other species. This list will be periodically revised in order to expand the life stage ontology. If there is a formal description of the life stage i.e. definition of "sheathed microfilaria", "enclosing embryo" etc.. please include it with a reference (WBPaperID).

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


Nematode Lifecycles

Entomopathogenic nematodes