💡 Quick Summary
Pairwise Align DNA accepts two DNA sequences and determines the optimal global alignment. Scoring is based on a simple identity matrix with configurable match and mismatch values. Use Pairwise Align DNA to look for conserved sequence regions between two DNA sequences.
📋 How to Use
- Paste the first DNA sequence (raw or FASTA) into Sequence One. Input limit is 20,000 characters.
- Paste the second DNA sequence (raw or FASTA) into Sequence Two. Input limit is 20,000 characters.
- Set the Match value (reward for identical bases) and Mismatch value (penalty for non-identical bases).
- Set the Value for gaps preceding a sequence, Value for internal gaps, and Value for gaps following a sequence.
- Click Submit. The aligned sequences are shown in FASTA format with the alignment score.
- Click Load Example to align the two sample sequences from the original SMS.
- Use the Copy button to copy the output to your clipboard.
🧮 Formulas & Logic
📊 Result Interpretation
Gaps in the alignment are represented as "-"
Sum of match/mismatch scores plus gap values; higher is better
Number of valid DNA bases in the first input sequence
Number of valid DNA bases in the second input sequence
🔬 Applications
- Comparing homologous gene sequences from different species
- Identifying conserved regulatory elements between two genomic regions
- Aligning two alleles or splice variants of the same gene
- Quick global comparison before running a BLAST search
⚠️ Common Mistakes & Warnings
Characters that are not valid IUPAC DNA/RNA symbols are stripped before alignment. U is accepted and treated as T.
The Hirschberg algorithm is O(nm) time but O(n) space. Sequences near the 20,000 character limit may take several seconds in the browser.