Having problems with downloading and unpacking bcftools. Edited version # (1.2 and 1.4) and edited tar command info (jxvf, jxf, -xjvf, xjvf, xvzf) and got the error message. Also tried tar command -cfjv where it did not give an error message, however the file did not execute.
example below:
$ curl -OL https://github.com/samtools/bcftools/release/download/1.2/bcftools-1.2.tar.bz2 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 9 0 9 0 0 28 0 --:--:-- --:--:-- --:--:-- 28
$ tar jxf bcftools-1.2.tar.bz2 tar: Unrecognized archive format tar: Error exit delayed from previous errors.
Try
tar -axf bcftools-1.2.tar.bz2
otherwisebunzip2 bcftools-1.2.tar.bz2
followed bytar -xvf bcftools-1.2.tar
(if you are using macOS). You are downloading source code so you will need to compile the program before you can execute it. Take a look at theINSTALL
file for instructions on how to compile/install in source folder.