Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Official website : https://mafft.cbrc.jp/alignment/software/

...

Table of Contents

...

Available version

version

module

7.505

MAFFT/7.505-cpeGNU-23.03-with-extensions

...

Job submission script

multithreads (1node1 node)

Code Block
#!/bin/bash
#SBATCH -p compute      # specific partition (compute,memory)
#SBATCH -N 1 -c 16      # -N 1 must be 1, -c can be 16, 32, 64, 128 depending on the requirement
#SBATCH -t 02:00:00     # job time limit <hr:min:sec>
#SBATCH -A lt200xxx     # project ID      
#SBATCH -J MAFFT        # job name

module restore
module load MAFFT/7.505-cpeGNU-23.03-with-extensions

#Set TMPDIR location, uncomment and modify projectID-shortname 
#mkdir -p /scratch/lt200xxx-abcdef/$USER/$SLURM_JOB_ID
#export MAFFT_TMPDIR=/scratch/lt200xxx-abcdef/$USER/$SLURM_JOB_ID

mafft --thread $SLURM_CPUS_PER_TASK --threadtb 16 --threadit 16 input.fasta > aligned.fasta

The usage of -- large option

Using the --large option reduces RAM usage, as the program stores data in temporary files instead. Using this function helps mitigate issues of running out of memory (out of memory), but it may result in slower computational performance.

Setting temporary file directory (TMPDIR)

Normally, temporary files are stored in $HOME/maffttmp/. Users can change the storage location by configuring MAFFT_TMPDIR to the desired path.

If temporary files become too large, it may result in an error: 'disk quota exceed.' If you intend to use --large option, the team recommends setting MAFFT_TMPDIR to a location with a sufficient disk quota, such as a project home or scratch directory.

MPI (> 1 nodes)

For more details, please see https://mafft.cbrc.jp/alignment/software/mpi.html.

...