-
Notifications
You must be signed in to change notification settings - Fork 24
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
Could not initialize gtc2vcf.so, neither run or init found #2
Comments
You don't need both init() and run() for a working bcftools plugin. Can you try to see whether the run() function is indeed in the shared object file?
Also, try to run bcftools plugin with the |
I don't see a run function in the output $ objdump -T plugins/gtc2vcf.so plugins/gtc2vcf.so: file format elf64-x86-64 DYNAMIC SYMBOL TABLE: And -v didn't give any additional information. |
I was able to fix this. For some reason I had a completely empty gtc2vcf.c file and a gtc2vcf.c.1 file with the actual code (I guess the initial download failed?). After deleting the empty file and renaming the .1 copy it compiled correctly with the run function and everything. |
Hello, I am trying to use the "Convert Illumina GTC files to VCF" example shown in the README, but I am getting this error:
Writing to .
Could not initialize gtc2vcf.so, neither run or init found
[E::bcf_hdr_read] Input is not detected as bcf or vcf format
Failed to open -: unknown file type
Failed to open -: unknown file type
Looking in the file, there is a
run
function defined, but noinit
function, and bcftools vcfplugin.c appears to be checking for both.I am using bcftools version 1.9. Any idea what could be causing this?
The text was updated successfully, but these errors were encountered: