You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nice! What do you think about using it for providing schema-specific diagnostics for failed IO? I did not look closely at it but that use case is the one that jumped out at me given how often bioinformatics scripts fail on badly formatted inputs.
It could make sense for VCF variant and INFO fields if we wanted to assert some things like:
Can't set variant id as "."
AF must be in INFO
ALT alleles must be bi-allelic
I could see it being useful for genomic feature tables since formats for those vary much more and picking a target schema for us or a user to hit would be helpful
Importing sample info could be another use case though I bet most users would rather import directly to arrays/dataframes (to attach to our xr.Datasets) than use some single record factory method
If it doesn't JIT compile, then it's probably a nonstarter for IO though. My guess is that it won't.
Hey @eric-czech do you think pydantic would be useful for our IO and configuration approach?
The text was updated successfully, but these errors were encountered: