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

Fetch column lists for standard formats from biodatamodels #15

Open
kevinschaper opened this issue Jun 4, 2021 · 2 comments
Open

Fetch column lists for standard formats from biodatamodels #15

kevinschaper opened this issue Jun 4, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request
Projects

Comments

@kevinschaper
Copy link
Member

In the Xenbase branch, I have a start at the idea that a source config can specify a standard data format rather than having to explicitly list columns - but initially it only has a couple of hardcoded format examples (GPI & OBAN).

Rather than hardcoding, we could fetch them from https://github.com/biodatamodels

(and maybe we can populate models at biodatamodels as we need them)

@kevinschaper kevinschaper added the enhancement New feature or request label Jun 4, 2021
@kevinschaper kevinschaper added this to To do in Koza Jun 4, 2021
@kevinschaper
Copy link
Member Author

kevinschaper commented Jun 7, 2021

Looking at GPI as the example, it doesn't look like I can fetch column names exactly, since the slot names and column names aren't the same. Some are equivalent other than formatting, but not all.

slots:
db object ref
db object symbol
db object name
db object synonyms
db object type
db object taxon
encoded by
parent protein
protein containing complex members
db xrefs
gene product properties

vs columns:

DB
DB_Object_ID
DB_Object_Symbol
DB_Object_Name
DB_Object_Synonym(s)
DB_Object_Type
DB_Object_Taxon
Parent_Object_ID
DB_Xref(s)
Properties

@kshefchek
Copy link
Contributor

hpoa might be a good use/test case for this - https://github.com/biodatamodels/ontology-associations/blob/main/src/schema/hpoa.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Koza
  
To do
Development

No branches or pull requests

2 participants