SequenceAligner Documentation¶
Overview¶
SequenceAligner is a lightweight C++ tool designed for the comparative alignment of biological sequences. It supports three classic algorithms:
- Longest Common Subsequence (LCS): Identifies the longest sequence of characters that appear left-to-right (not necessarily contiguously) in both sequences.
- Global Alignment (Needleman-Wunsch): Finds the best full-length alignment between two sequences using dynamic programming.
- Local Alignment (Smith-Waterman): Identifies the highest scoring local subsequence alignment useful for identifying conserved motifs.
This tool is optimized for command-line use with FASTA inputs and outputs colorful visual feedback.
Command-Line Usage¶
Usage¶
./aligner --query <query.fasta> --target <target.fasta> --choice <1|2|3|4> [--mode dna|protein] [--outdir <directory>] [--verbose]
Where:¶
--queryspecifies the first input FASTA file.--targetspecifies the second input FASTA file.-
--choiceselects the alignment method: -
1= global 2= local3= LCS4= all methods--mode(optional) sets scoring mode:dna(default) orprotein.--outdir(optional) sets the output directory (default is current directory).--verbose(optional) enables progress and detailed output.
Please refer to API Documentation