vcf-consensus: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/vcf-consensus - from package: vcftools

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/vcf-consensus - from package: vcftools

You may install the required package with command apt-get install {package}
Error in other languages:
vcf-consensus: bevel nie gevind nie
vcf-consensus: comandă negăsită
vcf-consensus: comando não encontrado
vcf-consensus: commande introuvable
vcf-consensus: command not found
vcf-consensus: käsku ei ole
vcf-consensus: không tìm thấy lệnh
vcf-consensus: komanda nerasta
vcf-consensus: Kommando nicht gefunden.
vcf-consensus: kommandot finns inte
vcf-consensus: komut yok
vcf-consensus: nie znaleziono polecenia
vcf-consensus: níor aimsíodh an t-ordú
vcf-consensus: no se encontró la orden
vcf-consensus: no s'ha trobat l'ordre
vcf-consensus: opdracht niet gevonden
vcf-consensus: parancs nem található
vcf-consensus: perintah tidak ditemukan
vcf-consensus: príkaz nenájdený
vcf-consensus: příkaz nenalezen
vcf-consensus: команда не найдена
vcf-consensus: командата не е открита
vcf-consensus: 命令找不到
vcf-consensus: コマンドが見つかりません