aboutsummaryrefslogtreecommitdiff
path: root/guix.scm
diff options
context:
space:
mode:
authorArun Isaac2021-12-02 15:14:13 +0530
committerArun Isaac2021-12-02 15:36:40 +0530
commit08ed5b9c842197e77a9dfb0072afc611fd24fcc0 (patch)
tree26255ea2c94460589cb7a9c09f4d137025ae512d /guix.scm
parentbe97de713219788f118edc92abbbd66e7caa76be (diff)
downloadgn-transform-databases-08ed5b9c842197e77a9dfb0072afc611fd24fcc0.tar.gz
Abstract out string->identifier.
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.
Diffstat (limited to 'guix.scm')
0 files changed, 0 insertions, 0 deletions