alignment-thin1
Remove sequences or columns from an alignment.
Usage
alignment-thin alignment-file
[OPTIONS]
Overview
Remove sequences or columns from an alignment.
General options:
|
Print usage information. |
|---|---|
|
Output more log messages on stderr. |
Sequence filtering options:
-parg,–protectarg-
Sequences that cannot be removed (comma-separated).
-karg,–keeparg-
Remove sequences not in comma-separated list arg.
-rarg,–removearg-
Remove sequences in comma-separated list arg.
-larg,–longer-thanarg-
Remove sequences not longer than arg.
-sarg,–shorter-thanarg-
Remove sequences not shorter than arg.
-carg,–cutoffarg-
Remove similar sequences with #mismatches < cutoff.
-darg,–down-toarg-
Remove similar sequences down to arg sequences.
–remove-gappyarg-
Remove arg outlier sequences – defined as sequences that are missing too many conserved sites.
–conservedarg (=0.75)-
Fraction of sequences that must contain a letter for it to be considered conserved.
Column filtering options:
|
Keep columns from this sequence |
|---|---|
|
Remove columns with fewer than arg letters. |
|
Remove insertions in a single sequence if longer than arg letters |
|
Remove columns with no characters (all gaps). |
Output options:
|
Sort partially ordered columns to group similar gaps. |
|---|---|
|
Just print out sequence lengths. |
|
Just print out sequence lengths. |
|
For each sequence, find the closest other sequence. |
Examples:
Remove columns without a minimum number of letters:
-
% alignment-thin --min-letters=5 file.fasta > file-thinned.fasta
Remove sequences by name:
-
% alignment-thin --remove=seq1,seq2 file.fasta > file2.fasta
-
% alignment-thin --keep=seq1,seq2 file.fasta > file2.fasta
Remove short sequences:
-
% alignment-thin --longer-than=250 file.fasta > file-long.fasta
Remove similar sequences with <= 5 differences from the closest other sequence:
-
% alignment-thin --cutoff=5 file.fasta > more-than-5-differences.fasta
Remove similar sequences until we have the right number of sequences:
-
% alignment-thin --down-to=30 file.fasta > file-30taxa.fasta
Remove dissimilar sequences that are missing conserved columns:
-
% alignment-thin --remove-gappy=10 file.fasta > file2.fasta
Protect some sequences from being removed:
-
% alignment-thin --down-to=30 file.fasta --protect=seq1,seq2 > file2.fasta
-
% alignment-thin --down-to=30 file.fasta --protect=@filename > file2.fasta
Reporting bugs:
BAli-Phy online help: ⟨http://www.bali-phy.org/docs.php⟩\c .
Please send bug reports to ⟨[email protected]⟩\c .
Releases
4 releases since Debian 10 (Buster); the text changed 2 times.