Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to order repeated slots in TSV #343

Closed
dr-shorthair opened this issue Jan 16, 2024 · 1 comment
Closed

How to order repeated slots in TSV #343

dr-shorthair opened this issue Jan 16, 2024 · 1 comment

Comments

@dr-shorthair
Copy link

The ordering of columns in the SSSOM TSV representation is expected to follow the sequence of elements in the Mapping specification.

  1. How is this managed for those slots that may be repeated (e.g. author, reviewer)?
  • repeated columns?
  • multiple values in one column?
  1. And how to manage it where the slots come in logical pairs, e.g. author_id, author_label?
    They should be coupled or interleaved somehow.
@matentzn
Copy link
Collaborator

Thank you for your question @dr-shorthair!

How is this managed for those slots that may be repeated (e.g. author, reviewer)?

multiple values in one column, pipe-separated. See a larger example here: https://github.com/mapping-commons/mh_mapping_initiative/blob/master/mappings/mp_hp_mgi_all.sssom.tsv

And how to manage it where the slots come in logical pairs, e.g. author_id, author_label?
They should be coupled or interleaved somehow.

See #344

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants