User:Egonw/AOP: Difference between revisions
Jump to navigation
Jump to search
(Created page with "= Adding AOP stressors = See this issue: https://github.com/VHP4Safety/ons-compoundwiki/issues/10") |
|||
Line 2: | Line 2: | ||
See this issue: https://github.com/VHP4Safety/ons-compoundwiki/issues/10 | See this issue: https://github.com/VHP4Safety/ons-compoundwiki/issues/10 | ||
SPARQL: https://edu.nl/uwtud | |||
== cli == | |||
* groovy inchiToSMILES.groovy | tee results.txt | |||
* grep -v "^#" results.txt | sort | uniq > cas.smi | |||
* groovy createWDitemsFromSMILES.groovy -w compoundcloud.wikibase.cloud -d P5 -a P11 -i kegg -l -z P21,Q4761 -f /VHP4Safety/cas.smi | |||
This last command uses "kegg" is dummy identifier, because the script does not know about AOP Stressor identifiers. We can replace these with P31 before we send the output to QuickStatements. |
Latest revision as of 19:00, 1 August 2024
Adding AOP stressors
See this issue: https://github.com/VHP4Safety/ons-compoundwiki/issues/10
SPARQL: https://edu.nl/uwtud
cli
- groovy inchiToSMILES.groovy | tee results.txt
- grep -v "^#" results.txt | sort | uniq > cas.smi
- groovy createWDitemsFromSMILES.groovy -w compoundcloud.wikibase.cloud -d P5 -a P11 -i kegg -l -z P21,Q4761 -f /VHP4Safety/cas.smi
This last command uses "kegg" is dummy identifier, because the script does not know about AOP Stressor identifiers. We can replace these with P31 before we send the output to QuickStatements.