-
Notifications
You must be signed in to change notification settings - Fork 274
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
Error running bcftools plugin
#1287
Comments
Thanks for the report. We would have to arrange for the bcftools code within pysam to be built with Also the bcftools plugins are not being built — in fact, their source code is currently omitted from the pysam repository. It might be best to leave it that way and use a separate bcftools installation's plugins via |
I see. That feels like a somewhat odd choice given that the If using |
I don't see it as an odd choice. The goal of pysam is to provide convenient Python facilities, which has traditionally (and somewhat unfortunately!) included providing access to some samtools and bcftools commands. Providing built-in access to commands implemented as bcftools plugins is fairly far down the priority list… 🤷 the clue is in both parts of the name bcftools plugin… but enabling access to existing bcftools plugins installed from elsewhere would be more feasible. Bundling and distributing bcftools plugins would bring its own problems, so might be best avoided. Re your second paragraph, note that bcftools plugins (which provide additional commands) are a separate matter from htslib plugins (which at present provide remote file access). |
It's not so much that I have a problem with the choice to not support
|
Building the bundled subset of the bcftools source code without defining |
Trying to run
bcftools plugin
via thepysam.bcftools
API results in the following error:I am running
pysam==0.21.0
The text was updated successfully, but these errors were encountered: