How to set up bcftools plugins?
1
0
Entering edit mode
4 months ago

Hello,

I want to use the +fixref-plugin in BCFTOOLS. I already installed BCFTOOLS and used some "normal" commands. However when I want to use the +fixref command, the following issue arises:

No functional bcftools plugins were found. The environment variable BCFTOOLS_PLUGINS is not set
and no usable plugins were found in /usr/local/libexec/bcftools.


Do you know, how to solve this issue? Do I need to install fixref (how, from where...)?

Best,

Andreas

BCFTOOLS • 539 views
1
Entering edit mode

When you compile bcftools you need to set a environmental variable export BCFTOOLS_PLUGINS=/path/to/bcftools/plugins

1
Entering edit mode

the message said

The environment variable BCFTOOLS_PLUGINS is not set

did you set this BCFTOOLS_PLUGINS variable ? https://samtools.github.io/bcftools/howtos/plugins.html

2
Entering edit mode
4 months ago
ATpoint 54k

There is a plugin subdirectory in the bcftools directory which you have to reference via the BCFTOOLS_PLUGINS env variable, so you either do something like:

export BCFTOOLS_PLUGINS='path/to/plugin_dir'


...each time before you run a command or put it into your .bashrc/.bash_profile.