diff options
author | Munyoki Kilyungi | 2023-05-26 08:36:59 +0300 |
---|---|---|
committer | BonfaceKilz | 2023-05-26 08:40:22 +0300 |
commit | 7982647f5d2f9f1752f7b777de4b5b65f8a3248f (patch) | |
tree | f3fa9f3d84a2612d5d6578e8a1ba95250f33d56f /examples | |
parent | 1578465fa2726d4ff96fdc9d66cb3c6e1bb1c298 (diff) | |
download | gn-transform-databases-7982647f5d2f9f1752f7b777de4b5b65f8a3248f.tar.gz |
Make tissue a multi-set during the probeset dump
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/dump-probeset.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/dump-probeset.scm b/examples/dump-probeset.scm index a3eaa05..e659120 100755 --- a/examples/dump-probeset.scm +++ b/examples/dump-probeset.scm @@ -89,6 +89,10 @@ (field ("IFNULL(ProbeSet.PubChem_ID, '')" PubChem_ID)))) + (multiset gn:tissue (map string-trim-both + (string-split + (field ("IFNULL(ProbeSet.Tissue, '')" Tissue)) + #\,))) (set gn:primaryName (field ProbeSet PrimaryName)) (set gn:secondaryNames (field ProbeSet SecondaryNames)) (set gn:peptideSequence (field ProbeSet PeptideSequence)))) |