FAMSA¶
FAMSA is a multiple sequence alignment program for large protein datasets. It can align hundreds of thousands, or with its medoid tree heuristic even millions, of sequences in reasonable time.
License¶
Free to use and open source under GNU GPLv3.
Available¶
- Roihu-CPU: 2.5.2, via the
bio-appsmodule.
Usage¶
FAMSA is part of the bio-apps collection on Roihu. Load the bio-apps module tree and then the FAMSA module:
FAMSA takes the sequences to align in FASTA format (optionally gzipped) and writes the alignment in FASTA format:
Always set the number of threads with -t to match the cores reserved for your job.
Other useful options:
-gt: guide tree method:sl(single linkage, default),upgmaornj-medoidtree: fast approximate guide tree for very large datasets-gz: write the alignment gzipped
Run famsa -help to see all options.
Example batch script¶
#!/bin/bash
#SBATCH --job-name=famsa
#SBATCH --account=<project>
#SBATCH --output=output_%j.txt
#SBATCH --error=errors_%j.txt
#SBATCH --partition=small
#SBATCH --time=04:00:00
#SBATCH --nodes=1
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=8
#SBATCH --mem=8G
module load bio-apps/v202603
module load famsa/2.5.2
famsa -t $SLURM_CPUS_PER_TASK sequences.fasta alignment.fasta
Replace <project> with your CSC project (for example project_2001234).
See creating a batch job script for Roihu for more information about running batch jobs.