💡 Quick Summary
Pairwise Align Codons accepts two coding sequences and determines the optimal global alignment. The scoring matrix used to calculate the alignment is described in Schneider et al. (2005). Use Pairwise Align Codons to look for conserved coding sequence regions. Only the bases A, C, G, T and U are used in the alignment.
📋 How to Use
- Paste the first coding DNA sequence (raw or FASTA) into Sequence One. Input limit is 6,000,000 characters.
- Paste the second coding DNA sequence (raw or FASTA) into Sequence Two. Input limit is 6,000,000 characters.
- Both sequences must contain only A, C, G, T (or U) bases and must be divisible by 3.
- Set the Value for gaps preceding a sequence, Value for internal gaps, and Value for gaps following a sequence. Positive display values add to the score; negative display values subtract from it.
- Click Submit. The aligned sequences are shown in FASTA format with the alignment score.
- Click Load Example to align the two sample coding sequences from the original SMS.
- Use the Copy button to copy the output to your clipboard.
🧮 Formulas & Logic
📊 Result Interpretation
Each codon in the output is 3 characters; gaps are represented as ".--" (codon-width placeholder)
Sum of codon substitution scores plus gap values; higher is better
Number of codons (triplets) in the first input sequence
Number of codons (triplets) in the second input sequence
🔬 Applications
- Comparing orthologous coding sequences across species at the codon level
- Identifying conserved and divergent codons between two homologous genes
- Aligning two CDS variants before performing dN/dS (Ka/Ks) analysis
- Finding conserved coding sequence regions between distantly related organisms
⚠️ Common Mistakes & Warnings
Both sequences must be divisible by 3. Non-A/C/G/T/U characters are removed before alignment.
The Hirschberg algorithm is O(nm) time but O(n) space. Very long sequences may take several seconds in the browser.
Each gap unit represents one missing codon (3 nucleotides). A display value of -2 means 2 points are subtracted per gap codon.