pairwise_align
Align two biological sequences to identify similarities and differences. Supports global or local alignment with customizable scoring parameters for matching, mismatching, and gaps.
Instructions
Perform pairwise sequence alignment.
Args: seq1: First sequence seq2: Second sequence mode: Alignment mode - 'global' or 'local' (default: 'global') match_score: Score for matching residues (default: 2.0) mismatch_score: Score for mismatching residues (default: -1.0) gap_open: Gap opening penalty (default: -2.0) gap_extend: Gap extension penalty (default: -0.5)
Returns: Dictionary containing alignment results and statistics
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seq1 | Yes | ||
| seq2 | Yes | ||
| mode | No | global | |
| match_score | No | ||
| mismatch_score | No | ||
| gap_open | No | ||
| gap_extend | No |