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

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