-
Notifications
You must be signed in to change notification settings - Fork 2
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
Create Repository For Applying Mappings to KGX Files #227
Comments
I agree this would be great. People keep asking me how to do "rewiring with SSSOM mappingsets" and I keep telling them to ask Monarch Devs, but the better answer would be kgx rewire --mappings mappings.sssom.tsv --kg kg.kgx.tsv. |
I think we could approach this as a Koza operation. Koza has a solid implementation of sssom rewiring now, so with no changes to Koza, we could write a config yaml and a transform script that just passed an entity through and rewiring would be applied in the koza writer. We could easily improve Koza for this by adding a pass-through mode that would just send whatever comes out of the reader into the writer, which eliminates the need for a transform.py. I think we could also improve the ability to specify command line args in place of koza config yaml enough that a koza command line alone would be enough to rewire a file. Koza's limitation of only knowing how to write kgx files might be something we'd also have to solve for this, depending on what else we might want to apply rewiring to. |
This is currently done in cat-merge.
The text was updated successfully, but these errors were encountered: