trimAl v1.1 command line version manual

Input and Output formats

trimAl reads and produce multiple sequence alignments in Phylip interleaved format

Basic usage

  trimal -in <inputfile> -out <outputfile> -(other options) 

Common options

Examples

1) Removes all positions in the alignment with gaps in 10% or more of the sequences, unless this leaves less than 60%. In such case, print the 60% best (with less gaps) positions.

      trimal -in <inputfile> -out <outputfile> -gt 10 -cons 60 

2) As above but, the gap percentage is averaged over a window starting 3 positions before and ending 3 positions after the column.

      trimal -in <inputfile> -out <outputfile> -gt 10 -cons 60 -w 3

3) Uses an automatic (strict) heuristic to decide optimal thresholds, based in the gap percentage count over the whole alignment. (see User Guide for details)

      trimal -in <inputfile> -out <outputfile> -extrict

Use of a user defined similarity-matrix

To compute a similarity score for protein alignments, trimAl uses the Blosum62 amino acid similarity matrix by default. However, the user can upload any other matrix.

Allowed combinations

The next image shows all the possible combinations of trimAl's options.