-
Notifications
You must be signed in to change notification settings - Fork 260
Description
Hello, first of all thank you for your response to my previous issue and adding the new function so quickly. I have tested it locally (mac) and it does exactly what I need. I've however ran into some issues when I tried to build a container with this bcftools version to run it on our HPC.
On my local machine and when the container is built for linux/arm64, the function works well. However, when the container is built with build --platform=linux/amd64, the new function throws an error:
bcftools query \
-f '[%CHROM:%POS-%REF/%ALT\t%GT\t%LAA\t%LAD\t%SAMPLE\n]' \
-i 'GT="het" & smpl_count(LAA)<2' \
$example_vcf
Error occurred while processing the filter "GT="het" & smpl_count(LAA)<2". (nstack=1)
as opposed to the old error with the previous bcftools versions:
[filter.c:3317 filters_init1] Error: the tag "smpl_count" is not defined in the VCF header
everything else seems to work as expected, it's just the new function.
Here is the container that's giving me trouble: https://hub.docker.com/r/mgdrozdz/bcftools-dev-version
Is there anything I can do to mitigate this, or is there something else in the code that needs to be modified for the function to work on amd64?