/v1/proteins/alignimport 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']}")Comparing protein variants
Measuring sequence conservation
Validating homology relationships
Alignment for structural comparison