calculate_alignment_score
Calculate the alignment score of two aligned sequences using a substitution matrix like BLOSUM62, returning the score and related statistics.
Instructions
Calculate the score of a given alignment using a substitution matrix.
Args: alignment_str: Aligned sequences (with gaps) as a formatted string matrix_name: Name of substitution matrix to use (default: 'BLOSUM62')
Returns: Dictionary containing alignment score and statistics
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alignment_str | Yes | ||
| matrix_name | No | BLOSUM62 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||