Skip to content

Commit 0a56335

Browse files
Merge pull request #307 from alisoncallahan/wormbase-release3
Wormbase release3
2 parents 20dc6b5 + 4865007 commit 0a56335

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

wormbase/wormbase.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,7 @@ function phenotype_associations(){
372372
} elseif(strstr($var_rnai, "WBRNAi")){
373373
parent::addRDF(
374374
parent::describeIndividual(parent::getNamespace().$var_rnai, "RNAi knockdown experiment targeting gene ".$gene." that does NOT result in phenotype ".$phenotype, parent::getVoc()."RNAi-Knockdown-Experiment").
375+
parent::triplify(parent::getNamespace().$var_rnai, parent::getVoc()."target-gene", parent::getNamespace().$gene).
375376
parent::triplify($pa_id, parent::getVoc()."associated-rnai-knockdown-experiment", parent::getNamespace().$var_rnai)
376377
);
377378
}
@@ -383,8 +384,6 @@ function phenotype_associations(){
383384
parent::triplify($npa_id, "owl:targetIndividual", parent::getNamespace().$phenotype)
384385
);
385386

386-
387-
388387
} else {
389388
$pa_id = parent::getRes().md5($gene.$phenotype.$paper.$var_rnai);
390389
$pa_label = "Gene-phenotype association between ".$gene." and ".$phenotype." under condition ".$var_rnai;
@@ -403,6 +402,8 @@ function phenotype_associations(){
403402
} elseif(strstr($var_rnai, "WBRNAi")){
404403
parent::addRDF(
405404
parent::describeIndividual(parent::getNamespace().$var_rnai, "RNAi knockdown experiment targeting gene ".$gene." resulting in phenotype ".$phenotype, parent::getVoc()."RNAi-Knockdown-Experiment").
405+
parent::triplify(parent::getNamespace().$var_rnai, parent::getVoc()."target-gene", parent::getNamespace().$gene).
406+
parent::triplify(parent::getNamespace().$var_rnai, parent::getVoc()."resulting-phenotype", parent::getNamespace().$phenotype).
406407
parent::triplify($pa_id, parent::getVoc()."associated-rnai-knockdown-experiment", parent::getNamespace().$var_rnai)
407408
);
408409
}

0 commit comments

Comments
 (0)