aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-05-30Sanitize a probeset's descriptionMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-30Update the probeset's identifier(object)Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-30Make a probeset's tissue multisetMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-30Make a probeset's alias a multisetMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-30Move probeset metadata used for a given experiment to it's own dumpMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-26Use a phenotype's abbreviation as it's nameMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-26Make tissue a multi-set during the probeset dumpMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-26Remove some metadata from the probeset dumpMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-26Create a new probesetfreeze dumpMunyoki Kilyungi
This way, the probeset dump will become smaller. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-26Allow load-rdf script to read in data from a dirMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-26Return an empty string if a dataset doesn't have a nameMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-26Remove unnecessary fields from probeset dumpMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-26Sanitize a generif entry from GNMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-26Add genotype dumpMunyoki Kilyungi
* examples/dump-genotype.scm: New dump for genotypes and their associated datasets(that were not dumped from the info-files table). Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-26Fix broken utf-8 chars when dumping an investigator's namesMunyoki Kilyungi
* examples/dump-dataset-metadata.scm (dump-investigators) <foaf:name, foaf:givenName>: Binary convert fields first to latin1 then utf8. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-26Remove an investigator's email/phone from dump for privacy reasonsMunyoki Kilyungi
* examples/dump-dataset-metadata.scm (dump-investigators) <foaf:phone, foad:mbox>: Delete. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-26Update a dataset's subject identifier to be a gn urlMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-26Annotate createtime field correctly with xsd:dateMunyoki Kilyungi
* examples/dump-phenotype.scm (dump-publishfreeze): Use xsd:date to annotate PublishFreeze's CreateTime field. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-26Replace broken char-sets with an empty stringMunyoki Kilyungi
* dump/strings.scm (sanitize-rdf-string): Add extra elements---broken chars---to replace with "". Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-26Replace dump.scm with separete dumps for several tablesMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-26Re-organize dumping macros and associated functionsMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-26Update how info-page-files are dumpedMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-26Update how publications are dumpedMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-26Dump phenotypesMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-26Delete dump-published-phenotypesMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-26When a field is null during annotation, return an empty stringMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-26Always use "~a" to output like "display"Munyoki Kilyungi
Replacing "~s" with "~a" will print utf-8 characters correctly. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-26Return an empty string if args passed to ontology is emptyMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-26Replace chars not allowed in RDFMunyoki Kilyungi
* dump.scm (sanitize-rdf-string): New function Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-26Dump molecular traits, also referred to as ProbesetsMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-26Update how inbred-set in dumpedMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-26Fix how a symbol is displayed in the final RDFMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-26Update how Species are dumpedMunyoki Kilyungi
* dump.scm (dump-species): Rename gn:menuName to gn:displayName. Add gn:family and up:organism triplets. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-04-05Delete "operation" from fieldsMunyoki Kilyungi
Nested raw queries: ((field (query alias)) alias) are now supported so an "operation is not needed". * dump.scm (field->key, field->assoc-ref): Delete ((field table column operation alias) alias)) Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-04-05Simplify pattern matching when checking for a nodeMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-04-05Wrap the password in quotesMunyoki Kilyungi
The password can contain special characters. As such, wrap it in quotes. * load-rdf.scm (delete-graph): Replace "~a" with "~s". Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-04-05Update GeneRIF prefixMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-04-05Add species data to generif entriesMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-04-05Dump genewiki symbolMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-04-05Annotate gn:geneWikiEntry as a class and add a commentMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-04-05Dump species, symbols and indicate generif type when a geneid = 0Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-04-05Separate NCBI and GN wikientries in dumpMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-04-05Add dublin-core and uniprot prefixesMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-04-05Avoid prefixing 'pubmed: to an empty stringMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-04-05Delete generif file dumpMunyoki Kilyungi
* dump.scm (decode-html-entities, import-generif): Delete. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-04-05Refactor dump-generif-basic/dump-generif to dump-gn-genewiki-entriesMunyoki Kilyungi
* dump.scm (dump-generif, dump-generif-basic): Refactor to ... (dump-gn-genewiki-entries): ... this. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-04-05Use match syntax to print object correctly during dumpMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-04-05Redefine how genewiki is dumpedMunyoki Kilyungi
* dump.scm (dump-generif, dump-generif-basic): Replace with ... (dump-gn-genewiki-entries): ... this. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-04-05Split substring int a list of substrings delimited by substringMunyoki Kilyungi
* dump.scm (string-split-substring): New function. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-04-05Add new special form for representing blank nodesMunyoki Kilyungi
* dump.scm (blank-node): New macro. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>