Skip to content

Commit

Permalink
new pattern for classes referring to a chebi role #98
Browse files Browse the repository at this point in the history
  • Loading branch information
marieALaporte committed Jun 11, 2017
1 parent ab63e40 commit 627fa97
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 10 deletions.
29 changes: 29 additions & 0 deletions patterns/eo-role.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
pattern_name: eo-role
classes:
plant experimental condition: EO_0007359
plant treatment: EO_0001001
exposure event: RO_0002310
chemical entity: CHEBI_24431
role: CHEBI_50906

relations:
has exposure stimulus: RO_0002244
has role: RO_0000087

vars:
stimulus: "'role'"

name:
text: "%s treatment"
vars:
- stimulus

def:
text: "A treatment involving the use of %s"
vars:
- stimulus

equivalentTo:
text: "'plant treatment' and 'has exposure stimulus' some ('chemical entity' and 'has role' some %s)"
vars:
- stimulus
10 changes: 0 additions & 10 deletions patterns/exposure-chebi.csv
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,13 @@ EO:0001020,"carbon dioxide treatment",CHEBI:16526,"carbon dioxide"
EO:0001021,"ozone treatment",CHEBI:25812,"ozone"
EO:0001060,"sodium hydroxide treatment",CHEBI:32145,"sodium hydroxide"
EO:0001061,"polyethylene glycol treatment",CHEBI:46793,"poly(ethylene glycol)"
EO:0007041,"antibiotic treatment",CHEBI:33281,"antimicrobial agent"
EO:0007044,"mineral treatment",CHEBI:46662,"mineral"
EO:0007048,"sodium chloride regimen",CHEBI:26710,"sodium chloride"
EO:0007063,"diuron treatment",CHEBI:116509,"diuron"
EO:0007066,"cytokinin treatment",CHEBI:23530,"cytokinin"
EO:0007068,"ethylene treatment",CHEBI:29362,"ethylene group"
EO:0007069,"gibberellic acid treatment",CHEBI:86644,"Gibberellic acid"
EO:0007070,"indole acetic acid treatment",CHEBI:16411,"indole-3-acetic acid"
EO:0007074,"auxin treatment",CHEBI:22676,"auxin"
EO:0007080,"jasmonic acid treatment",CHEBI:18292,"jasmonic acid"
EO:0007085,"fertilizer regimen",CHEBI:33287,"fertilizer"
EO:0007090,"ammonium nitrate regimen",CHEBI:63038,"ammonium nitrate"
EO:0007094,"sodium nitrate regimen",CHEBI:63005,"sodium nitrate"
EO:0007095,"calcium nitrate regimen",CHEBI:64205,"calcium nitrate"
Expand All @@ -37,18 +33,13 @@ EO:0007099,"potassium sulfate regimen",CHEBI:32036,"potassium sulfate"
EO:0007101,"urea regimen",CHEBI:16199,"urea"
EO:0007105,"abscisic acid treatment",CHEBI:22152,"2-cis-abscisic acid"
EO:0007151,"radiation treatment",CHEBI:30212,"photon"
EO:0007165,"growth hormone treatment",CHEBI:37845,"growth hormone"
EO:0007167,"pesticide treatment",CHEBI:25944,"pesticide"
EO:0007168,"hygromycin treatment",CHEBI:24753,"hygromycin"
EO:0007180,"2,4-dichlorophenoxyacetic acid treatment",CHEBI:19351,"(2,4-dichlorophenoxy)acetate"
EO:0007183,"herbicide treatment",CHEBI:24527,"herbicide"
EO:0007185,"salt treatment",CHEBI:24866,"salt"
EO:0007187,"salicylic acid treatment",CHEBI:16914,"salicylic acid"
EO:0007204,"1-naphthaleneacetic acid treatment",CHEBI:32918,"1-naphthylacetic acid"
EO:0007223,"cadmium chloride treatment",CHEBI:35456,"cadmium dichloride"
EO:0007239,"micronutrient regimen",CHEBI:27027,"micronutrient"
EO:0007267,"benzothiadiazole treatment",CHEBI:48864,"benzothiadiazole"
EO:0007268,"fungicide treatment",CHEBI:24127,"fungicide"
EO:0007278,"oxygen regimen",CHEBI:25805,"oxygen atom"
EO:0007287,"dibromothymoquinone treatment",CHEBI:19371,"dibromothymoquinone"
EO:0007290,"kinetin treatment",CHEBI:27407,"kinetin"
Expand Down Expand Up @@ -130,5 +121,4 @@ EO:0007574,"vinyl carbamate",CHEBI:27292,"vinyl carbamate"
EO:0007610,"3-H",CHEBI:29238,"tritium atom"
EO:0007619,"226-Ra or agr ray",CHEBI:33325,"radium atom"
EO:0007629,"hydrogen regimen",CHEBI:49637,"hydrogen atom"
EO:0007632,"insecticide treatment",CHEBI:24852,"insecticide"
EO:0007633,"imidazolinone treatment",CHEBI:24781,"imidazolinone"
11 changes: 11 additions & 0 deletions patterns/exposure-chebi_role.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
defined_class,defined_class label,stimulus,stimulus label
EO:0007239,"micronutrient regimen",CHEBI:27027,"micronutrient"
EO:0007041,"antibiotic treatment",CHEBI:33281,"antimicrobial agent"
EO:0007167,"pesticide treatment",CHEBI:25944,"pesticide"
EO:0007165,"growth hormone treatment",CHEBI:37845,"growth hormone"
EO:0007183,"herbicide treatment",CHEBI:24527,"herbicide"
EO:0007268,"fungicide treatment",CHEBI:24127,"fungicide"
EO:0007085,"fertilizer regimen",CHEBI:33287,"fertilizer"
EO:0007074,"auxin treatment",CHEBI:22676,"auxin"
EO:0007066,"cytokinin treatment",CHEBI:23530,"cytokinin"
EO:0007632,"insecticide treatment",CHEBI:24852,"insecticide"

0 comments on commit 627fa97

Please sign in to comment.