sam2vcf.pl: 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/sam2vcf.pl - from package: samtools

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