$ cd /somewhere/ $ tar xfvz mafft-7.526-linux.tgz
$ cd /somewhere/ $ ls -F mafft-linux64/ $ cd mafft-linux64/ $ ls -F mafft.bat* mafftdir/
% /somewhere/mafft-linux64/mafft.bat input.txt > output.txt
% /somewhere/mafft-linux64/mafft.bat --localpair --maxiterate 100 input.txt > output.txt
Try this only when the command-line mode is not useful.
% cp input.txt /somewhere/mafft-linux64
% cd /somewhere/mafft-linux64
% ./mafft.bat --------------------------------------------------------------------- MAFFT v7.467 (2020/May/14) MBE 30:772-780 (2013), NAR 30:3059-3066 (2002) https://mafft.cbrc.jp/alignment/software/ --------------------------------------------------------------------- Input file? (FASTA format; Folder=/somewhare/mafft-linux64) @ input.txt