mafft-ginsi: 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-ginsi - from package: mafft

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