how can I install the plugin vcf2bed in ubuntu?
BCFtools was installed with
sudo apt-get install bedtools and I followed the instructions here thus I copied the file
/usr/local/bcftools/plugins and run
sudo make but the error was
make: *** No targets specified and no makefile found. Stop. and this make sense because
vcf2bed.c is a C file not a make file. Thus I tried with gcc but I got: `
$ sudo gcc vcf2bed.c -o vcf2bed.so /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o: In function `_start': (.text+0x20): undefined reference to `main' /tmp/cc5WNHDB.o: In function `process': vcf2bed.c:(.text+0x82): undefined reference to `bcf_unpack' collect2: error: ld returned 1 exit status
What is the correct way of installing this plugin?