You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Note that `obo-grep.pl` is in your PATH, no need to search for it
16
-
- Only search over `src/ontology/oba-edit.obo`
16
+
- Only search over `src/patterns/definitions.owl`
17
17
- DO NOT bother doing your own greps over the file, or looking for other files, unless otherwise asked, you will just waste time.
18
18
- ONLY use the methods above for searching the ontology
19
19
@@ -28,41 +28,42 @@ This includes instructions for editing the OBA ontology.
28
28
### How to create new terms in OBA
29
29
30
30
#### Overview
31
-
- IMPORTANT: Do not edit the edit file directly, it's large
32
31
- OBA terms are compositional, check DOSDP design patterns: `src/patterns/dosdp-patterns/*.yaml`
33
32
- Desgin pattern templates are found in `src/patterns/data/default`
34
33
35
34
#### Steps
36
35
37
-
1- Read the issue carefully to identify design pattern filler terms.
36
+
1- Read the issue carefully to identify the most appropriate design pattern and filler terms. Use the following examples as a general guide.
38
37
39
-
Example:
40
-
41
-
```
42
-
```
38
+
Example 1: The amount or level of cholesterol when measured in blood serum. Use the design pattern template `entity_attribute_location.tsv` and the filler terms: cholesterol, amount and blood serum.
39
+
40
+
Example 2: The age at which asthma manifestations first appear. Use the design pattern template `disease_onset.tsv` and the filler term: asthma.
43
41
44
-
2- Check whether design pattern components have been imported to OBA. Search `src/ontology/imports/merged_import.owl`
42
+
Example 3: A trait that affects the response to prednisolone. Use the design pattern template `response_to_chemical_stimulus_trait.tsv` and the filler term: prednisolone.
43
+
44
+
2- Check whether design pattern fillers have been imported to OBA. Search `src/ontology/imports/merged_import.owl`
45
45
46
-
3- If they do, please proceed to creating the new OBA term using the appropriate DOSDP pattern template.
46
+
3- If they have been imported, please proceed to creating the new OBA term using the appropriate DOSDP pattern template.
47
47
48
48
4- Add the term to the template, then run
49
-
sh run.sh make IMP=false MIR=false ../patterns/definitions.owl
49
+
make IMP=false MIR=false ../patterns/definitions.owl
50
50
51
51
5- Refresh OBA imports by running
52
-
sh run.sh make refresh-merged
53
-
54
-
6 - Run sh run.sh make IMP=false MIR=false ../patterns/definitions.owl again.
52
+
make refresh-merged
55
53
56
-
7- When creating new OBA terms using DOSDP patterns, it may be necessary to import terms from other ontologies like ChEBI, the Chemical Entities of Biological Interest or PRO, the PRotein Ontology. However, they are too large to be managed as standard imports so are managed as slims. When a new term you are using in a DOSDP pattern is not yet in a slim you will have to refresh the slim first. They are located here:
54
+
6 - Run make IMP=false MIR=false ../patterns/definitions.owl again.
57
55
56
+
7- When creating new OBA terms using DOSDP patterns, it may be necessary to import terms from other ontologies like ChEBI, the Chemical Entities of Biological Interest or PRO, the PRotein Ontology. However, they are too large to be managed as standard imports so are managed as slims. They are located here:
0 commit comments