AlignProteins
apiblocks.AlignProteins
Aligns two protein structures using FATCAT.
Equivalent to running:
Parameters:Name | Type | Description | Example | Default |
---|---|---|---|---|
ref | ProteinStructure |
Reference protein structure |
||
tgt | ProteinStructure |
Target protein structure |
Returns:
Type | Description |
---|---|
ProteinAlignment |
Alignment between the two structures. |
$ curl 'https://api.apiblocks.dev/rpc' \
-H 'X-API-KEY: $APIBLOCKS_TOKEN' \
-H 'Content-Type: application/json' \
--data '{
"id": "3077eb9a-162d-45f8-98f4-783f12e2b393",
"method": "apiblocks.AlignProteins",
"params": {
"ref": {
"name": "Example reference",
"chains": [
{
"chain_id": "A",
"residues": [
{
"residue_id": "1",
"name": "MET",
"atoms": [
{
"name": "CA",
"coordinates": {
"x": 0.0,
"y": 1.0,
"z": 1.5
}
}
]
}
]
}
]
},
"tgt": {
"name": "Example target",
"chains": [
{
"chain_id": "A",
"residues": [
{
"residue_id": "1",
"name": "MET",
"atoms": [
{
"name": "CA",
"coordinates": {
"x": 1.0,
"y": 2.0,
"z": 2.5
}
}
]
}
]
}
]
}
}
}'