RIMD, Osaka Univ. Osaka Univ.
MAFFT version 7

Multiple alignment program for amino acid or nucleotide sequences

All-in-one package for Mac OS X

Recommended only when redistributing MAFFT within another program package.
Otherwise, try the standard package.



  1. Open a Terminal window (Finder → Applications → Utilities → Terminal).
  2. Unzip the package in any folder you like.
    $ cd /somewhere/
    $ unzip mafft-7.490-mac.zip
  3. The mafft-mac folder is generated.  This folder has the mafft.bat script and the mafftdir subfolder.
    $ cd /somewhere/
    $ ls -F
    $ cd mafft-mac/
    $ ls -F
    mafft.bat*    mafftdir/
  4. If you want to move the installation to another location, just move the entire mafft-mac folder to the new location.

Usage (Command-line mode)

Usage (Interactive mode; Versions ≥7.407; 2018/Jul)

Try this only when the command-line mode is not useful.
  1. Copy your input file to the mafft-mac folder,
    % cp input.txt /somewhere/mafft-mac

  2. Go to the mafft-mac folder,
    % cd /somewhere/mafft-mac

  3. Type ./mafft.bat and follow the prompts.
    % ./mafft.bat
       MAFFT v7.490 (2021/Oct/30)
            MBE 30:772-780 (2013), NAR 30:3059-3066 (2002)
    Input file? (FASTA format; Folder=/somewhare/mafft-mac)
    @ input.txt