-
Notifications
You must be signed in to change notification settings - Fork 35
sgkit-bgen merger #314
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
sgkit-bgen merger #314
Changes from all commits
53ca999
ccb2fb7
14210b2
8899b57
06c6b99
ed9c070
7796448
f694b34
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
try: | ||
from .bgen_reader import bgen_to_zarr, read_bgen, rechunk_bgen # noqa: F401 | ||
|
||
__all__ = ["read_bgen", "bgen_to_zarr", "rechunk_bgen"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't know if we actually need those There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I just did what you did with plink and tom with vcf. I plan on waiting until https://github.com/pystatgen/sgkit/pull/294 is done before making a decision on that. |
||
except ImportError as e: | ||
msg = ( | ||
"sgkit bgen requirements are not installed.\n\n" | ||
"Please install them via pip :\n\n" | ||
" pip install 'git+https://github.com/pystatgen/sgkit#egg=sgkit[bgen]'" | ||
) | ||
raise ImportError(str(e) + "\n\n" + msg) from e |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this different than the dev-requirements? it can't be git based?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I originally had it that way but it doesn't work when you pip install sgkit from github which then tries to pip install rechunker from github. I'm not sure why but I'm instead treating it as an "abstract" dependency for now (e.g. pyscaffold/pyscaffold#261 (comment)). https://github.com/pystatgen/sgkit/issues/321 for when the required changes are released.