about summary refs log tree commit diff
path: root/examples/dump-generif.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-generif.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-generif.scm')
-rwxr-xr-xexamples/dump-generif.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/dump-generif.scm b/examples/dump-generif.scm
index 083490f..b546f42 100755
--- a/examples/dump-generif.scm
+++ b/examples/dump-generif.scm
@@ -36,7 +36,7 @@
               (string-split
                (field ("GROUP_CONCAT(DISTINCT Species.SpeciesName)" species))
                #\,))
-    (multiset gn:taxId (map (cut ontology 'taxon: <>)
+    (multiset gn:taxId (map (cut ontology 'ncbiTaxon: <>)
                             (string-split (field ("GROUP_CONCAT(DISTINCT TaxID)" taxId))
                                           #\,)))))
 
@@ -139,7 +139,7 @@
        (prefix "dct:" "<http://purl.org/dc/terms/>")
        (prefix "pubmed:" "<http://rdf.ncbi.nlm.nih.gov/pubmed/>")
        (prefix "up:" "<http://purl.uniprot.org/core/>")
-       (prefix "taxon:" "<http://purl.uniprot.org/taxonomy/>")
+       (prefix "ncbiTaxon:" "<https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=>")
        (prefix "generif:" "<http://www.ncbi.nlm.nih.gov/gene?cmd=Retrieve&dopt=Graphics&list_uids=>")
        (prefix "xsd:" "<http://www.w3.org/2001/XMLSchema#>")
        (prefix "owl:" "<http://www.w3.org/2002/07/owl#>")