💡 Quick Summary
Pairwise Align DNA accepts two DNA sequences and determines the optimal global alignment using the EDNAFULL substitution matrix and affine gap penalties. 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 Gap opening penalty — cost paid once when a gap is started.
- Set the Gap extension penalty — cost paid for each additional position in a gap.
- 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 EDNAFULL substitution scores minus gap penalties; 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.
With affine penalties, opening a new gap is more costly than extending an existing one — biologically, a single insertion/deletion event often spans multiple bases.