aboutsummaryrefslogtreecommitdiff
path: root/dump.scm
AgeCommit message (Collapse)Author
2021-12-02Construct investigator ID using first and last names too.Arun Isaac
* dump.scm (investigator-email->id): Rename to investigator-attributes->id. Use first and last names in addition to the email ID. (dump-investigators): Use investigator-attributes->id. Include records that have no email ID. (dump-info-files): Use investigator-attributes->id. Include records that have no email ID.
2021-12-02Use string-delete instead of string-replace-substring.Arun Isaac
For the simple task of removing spaces, string-delete is sufficient. string-replace-substring is overkill. * dump.scm (fix-email-id): Use string-delete instead of string-replace-substring.
2021-12-02Abstract out string->identifier.Arun Isaac
Building a turtle identifier from a string after removing illegal characters and prefixing is an extremely common operation. Abstract it. Also, mandate identifier prefixes. It is better to play it safe. * dump.scm (string->identifier): New function. (binomial-name->species-id, dump-strain, mapping-method-name->id, inbred-set-name->id, aphenotype-id->id, tissue-short-name->id, investigator-email->id, avg-method-name->id, gene-chip-name->id): Use string->identifier.
2021-12-02Document delete-substrings.Arun Isaac
* dump.scm (delete-substring): Add docstring.
2021-12-01Deal with AvgMethodId = 0.Arun Isaac
* dump.scm (dump-info-files): Deal with AvgMethodId.
2021-12-01Use InfoFileTitle instead of InfoPageTitle for dataset name.Arun Isaac
Not all datasets have a non-NULL InfoPageTitle field. * dump.scm (dump-info-files): Use InfoFileTitle instead of InfoPageTitle for dataset name.
2021-12-01Extract name of dataset group.Arun Isaac
* dump.scm (dump-info-files): Extract name of dataset group.
2021-12-01Do not link inbred-set to mapping-method.Arun Isaac
Not all inbred sets have a mapping method, and the mapping method of the inbred set has, so far, not been used anywhere. * dump.scm (mapping-method-name->id, dump-mapping-method): Mark as unused. (dump-inbred-set): Do not link inbred-set to mapping-method.
2021-12-01Allow N/A avg method.Arun Isaac
* dump.scm (dump-avg-method): Allow N/A in name. (dump-info-files): Allow N/A in avg-method-name. (avg-method-name->id): Replace / with _.
2021-12-01Remove gn:geoSeries when value starts with "No Geo Series...".Arun Isaac
* dump.scm (dump-info-files): Remove gn:geoSeries when value starts with "No Geo Series...".
2021-12-01In the gn: prefix, use http instead of https.Arun Isaac
* dump.scm: In the gn:prefix, use http instead of https.
2021-12-01Remove unrequired rdfs: prefix.Arun Isaac
* dump.scm: Remove rdfs: prefix.
2021-11-11Fix unbalanced parentheses.Arun Isaac
Parentheses became unbalanced due to my careless git use. * dump.scm: Fix unbalanced parentheses.
2021-09-14Dump InfoFiles.Arun Isaac
* dump.scm (dump-info-files): New function. [main]: Call dump-info-files.
2021-09-14Abstract out deleting substrings.Arun Isaac
* dump.scm (delete-substrings): New function. (dump-publication): Replace string-replace-substring with delete-substrings.
2021-09-14Do not define sub-properties of rdfs:label.Arun Isaac
* dump.scm (dump-publication, dump-tissue): Do not define any property to be a sub-property of rdfs:label.
2021-09-14Dump GeneChip.Arun Isaac
* dump.scm (gene-chip-name->id, dump-gene-chip): New functions. [main]: Call dump-gene-chip.
2021-09-14Dump AvgMethod.Arun Isaac
* dump.scm (avg-method-name->id, dump-avg-method): New functions. [main]: Call dump-avg-method.
2021-09-14Delete unused camel->kebab function.Arun Isaac
* dump.scm (camel->kebab): Delete function.
2021-09-09Dump Investigators.Arun Isaac
* dump.scm (fix-email-id, investigator-email->id, dump-investigators): New functions. Invoke dump-investigators.
2021-09-09Dump Tissue.Arun Isaac
* dump.scm (tissue-short-name->id, dump-tissue): New functions. Invoke dump-tissue.
2021-09-09Add foaf prefix.Arun Isaac
* dump.scm: Add foaf prefix.
2021-09-09Abstract out prefix entries.Arun Isaac
* dump.scm (prefix): New function. Use prefix.
2021-08-27Initial commitArun Isaac