Skip to content

Commit 12f9849

Browse files
committed
Update script and files to include associatedDisease equivalence
1 parent 1efb253 commit 12f9849

File tree

3 files changed

+680
-676
lines changed

3 files changed

+680
-676
lines changed

notebooks/BioschemasTypes.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@
208208
},
209209
{
210210
"cell_type": "code",
211-
"execution_count": 2,
211+
"execution_count": 1,
212212
"id": "90246e73-5b99-42b6-9c54-28a2fc147ea0",
213213
"metadata": {},
214214
"outputs": [],
@@ -220,7 +220,7 @@
220220
},
221221
{
222222
"cell_type": "code",
223-
"execution_count": 18,
223+
"execution_count": 2,
224224
"id": "8f5d0652-2029-4cfd-b9cc-9faa9964214f",
225225
"metadata": {},
226226
"outputs": [],
@@ -229,7 +229,7 @@
229229
"\n",
230230
" #Classes and properties already aincluded in schema.org\n",
231231
" types_in_schema = [\"BioChemEntity\", \"ChemicalSubstance\", \"Gene\", \"MolecularEntity\", \"Protein\", \"Taxon\"]\n",
232-
" properties_in_schema = [\"bioChemInteraction\", \"bioChemSimilarity\", \"biologicalRole\", \"hasBioChemEntityPart\", \"hasMolecularFunction\", \"hasRepresentation\", \"isEncodedByBioChemEntity\", \"isInvolvedInBiologicalProcess\", \"isLocatedInSubcellularLocation\", \"isPartOfBioChemEntity\", \"taxonomicRange\", \"alternativeOf\", \"encodesBioChemEntity\", \"expressedIn\", \"hasBioPolymerSequence\", \"chemicalComposition\", \"chemicalRole\", \"potentialUse\", \"chemicalRole\", \"inChi\", \"inChiKey\", \"iupacName\", \"molecularFormula\", \"molecularWeight\", \"monoisotopicMolecularWeight\", \"smiles\", \"childTaxon\", \"parentTaxon\", \"taxonRank\"]\n",
232+
" properties_in_schema = [\"associatedDisease\", \"bioChemInteraction\", \"bioChemSimilarity\", \"biologicalRole\", \"hasBioChemEntityPart\", \"hasMolecularFunction\", \"hasRepresentation\", \"isEncodedByBioChemEntity\", \"isInvolvedInBiologicalProcess\", \"isLocatedInSubcellularLocation\", \"isPartOfBioChemEntity\", \"taxonomicRange\", \"alternativeOf\", \"encodesBioChemEntity\", \"expressedIn\", \"hasBioPolymerSequence\", \"chemicalComposition\", \"chemicalRole\", \"potentialUse\", \"chemicalRole\", \"inChi\", \"inChiKey\", \"iupacName\", \"molecularFormula\", \"molecularWeight\", \"monoisotopicMolecularWeight\", \"smiles\", \"childTaxon\", \"parentTaxon\", \"taxonRank\"]\n",
233233
" eq_schema = URIRef(\"https://schema.org/\")\n",
234234
" \n",
235235
" #iterates over all classes in the bioschemas namespace\n",
@@ -265,7 +265,7 @@
265265
},
266266
{
267267
"cell_type": "code",
268-
"execution_count": 14,
268+
"execution_count": 3,
269269
"id": "c47ba42a-79a9-416c-bd63-32d72df73210",
270270
"metadata": {},
271271
"outputs": [],
@@ -298,7 +298,7 @@
298298
},
299299
{
300300
"cell_type": "code",
301-
"execution_count": 21,
301+
"execution_count": 4,
302302
"id": "7515e020-7489-4238-b879-156fe1d61003",
303303
"metadata": {},
304304
"outputs": [],

0 commit comments

Comments
 (0)