💾 Archived View for thebird.nl › gn-gemtext-threads › issues › dump-genewiki-metadata.gmi captured on 2023-04-19 at 22:52:37. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-03-20)
-=-=-=-=-=-=-
Dump the tables:
ag "Observational study of gene-disease association" dump.ttl --pager='less -R' ag "gn:symbol" | sort | less ag "gn:anonSymbol" | sort | less
SELECT * FROM GeneRIF LEFT JOIN GeneRIF_BASIC USING (symbol) LEFT JOIN GeneRIFXRef ON GeneRIFXRef.GeneRIFId = GeneRIF.Id LEFT JOIN GeneCategory ON GeneRIFXRef.GeneCategoryId = GeneCategory.Id WHERE GeneRIF.display > 0 AND GeneRIF.VersionId = 0 AND GeneRIF_BASIC.GeneId IS NULL\G
SELECT * FROM GeneInfo WHERE GeneId = 68350\G
https://gn1.genenetwork.org/webqtl/main.py?FormID=geneWiki&symbol=NEWENTRY
To query these entries:
SELECT * FROM GeneRIF_BASIC WHERE symbol = 'NEWENTRY'\G
'(("\x28" . "") ("\x29" . "") ("\xa0" . " ") ("â\x81„" . "/") ("â€\x9d" . #\") ("’" . #\') ("\x02" . "") ("\x01" . "") ("β" . "β") ("α-Â\xad" . "α") ("Â\xad" . "") ("α" . "α") ("–" . "-"))
SELECT COUNT(*) FROM GeneRIF_BASIC WHERE symbol = '';
https://gn1.genenetwork.org/webqtl/main.py?FormID=geneWiki&symbol=A2m