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
ADD COMMENT
1
Entering edit mode

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

ADD REPLY
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

ADD REPLY
2
Entering edit mode
4 months ago
ATpoint 54k

Please confirm that you read: https://samtools.github.io/bcftools/howtos/plugins.html

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.

enter image description here

ADD COMMENT

Login before adding your answer.

Traffic: 1139 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6