aboutsummaryrefslogtreecommitdiff
path: root/examples/dump-species-metadata.scm
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-06-05 22:35:49 +0300
committerBonfaceKilz2023-06-12 19:06:36 +0300
commitaabe2fcc6b9e48269b0051bf115093d974d10065 (patch)
tree03901ac02c35ed9ed1a0b82946af741f6530d529 /examples/dump-species-metadata.scm
parent87a0616ab9ca1e2a32348e243e96f06a1bb6e204 (diff)
downloadgn-transform-databases-aabe2fcc6b9e48269b0051bf115093d974d10065.tar.gz
Use NCBI taxonomy browser instead of uniprot
NCBI presents data in a user friendly way from the taxid. To get the same data from uniprot, you need a unique identify which requires an extra query to retrieve. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'examples/dump-species-metadata.scm')
-rwxr-xr-xexamples/dump-species-metadata.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/dump-species-metadata.scm b/examples/dump-species-metadata.scm
index ed4113c..2937c80 100755
--- a/examples/dump-species-metadata.scm
+++ b/examples/dump-species-metadata.scm
@@ -34,7 +34,7 @@
(set gn:displayName (field Species MenuName))
(set gn:binomialName (field Species FullName))
(set gn:family (field Species Family))
- (set up:organism (ontology 'taxon: (field Species TaxonomyId)))))
+ (set gn:organism (ontology 'ncbiTaxon: (field Species TaxonomyId)))))
(define-dump dump-strain
(tables (Strain
@@ -128,7 +128,7 @@
(prefix "pubmed:" "<http://rdf.ncbi.nlm.nih.gov/pubmed/>")
(prefix "rdf:" "<http://www.w3.org/1999/02/22-rdf-syntax-ns#>")
(prefix "rdfs:" "<http://www.w3.org/2000/01/rdf-schema#>")
- (prefix "taxon:" "<http://purl.uniprot.org/taxonomy/>")
+ (prefix "ncbiTaxon:" "<https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=>")
(prefix "uniprot:" "<http://purl.uniprot.org/uniprot/>")
(prefix "up:" "<http://purl.uniprot.org/core/>")
(prefix "xsd:" "<http://www.w3.org/2001/XMLSchema#>")