mafft-profile: 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 Debian possible default full paths are:

/usr/lib/mafft/bin/mafft-profile - from package: mafft

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