ProteinsCPU1 credits

Sequence Alignment

Global pairwise alignment with Needleman-Wunsch

Perform global pairwise sequence alignment using the Needleman-Wunsch algorithm. Returns alignment score, identity percentage, and aligned sequences with gap annotations.

$0.01
per API call
1
credits per call
/v1/proteins/align
API endpoint

Features

Global pairwise alignment
Needleman-Wunsch algorithm
BLOSUM62 scoring matrix
Identity and similarity scores
Gap-annotated output
Sub-second response

Quick Start

Needleman-Wunsch — Python Examplepython
import requests

API_KEY = "sk-sci-your-key-here"
url = "https://scirouter.ai/v1/proteins/align"

response = requests.post(url, json={
    "sequence1": "MKFLILLFNILCLFPVLAAD",
    "sequence2": "MKFLVLLFNILCLFPVLAAD"
}, headers={"Authorization": f"Bearer {API_KEY}"})

result = response.json()
print(f"Identity: {result['identity']:.1f}%")
print(f"Score: {result['score']}")

Use Cases

1

Comparing protein variants

2

Measuring sequence conservation

3

Validating homology relationships

4

Alignment for structural comparison

Start Using Sequence Alignment

500 free credits every month. No credit card required.