Stop a running protein library screen
protein.library_screen.stop(strid) -> LibraryScreenStopResponse
POST/compute/v1/protein/library-screen/{id}/stop
Stop an in-progress protein library screen early
Parameters
id: str
Returns
Stop a running protein library screen
import os
from boltz_api import Boltz
client = Boltz(
api_key=os.environ.get("BOLTZ_API_KEY"), # This is the default and can be omitted
)
response = client.protein.library_screen.stop(
"id",
)
print(response.id){
"id": "id",
"completed_at": "2019-12-27T18:11:19.117Z",
"created_at": "2019-12-27T18:11:19.117Z",
"data_deleted_at": "2019-12-27T18:11:19.117Z",
"engine": "boltz-protein-screen",
"engine_version": "engine_version",
"error": {
"code": "code",
"message": "message",
"details": {}
},
"input": {
"proteins": {
"url": "https://example.com",
"url_expires_at": "2019-12-27T18:11:19.117Z"
},
"target": {
"chain_selection": {
"A": {
"chain_type": "polymer",
"crop_residues": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12
],
"epitope_residues": [
10,
11,
12
],
"flexible_residues": [
5,
6,
7
]
}
},
"structure": {
"url": "https://example.com",
"url_expires_at": "2019-12-27T18:11:19.117Z"
},
"type": "structure_template"
}
},
"livemode": true,
"progress": {
"num_proteins_failed": 0,
"num_proteins_screened": 0,
"total_proteins_to_screen": 1,
"latest_result_id": "latest_result_id"
},
"started_at": "2019-12-27T18:11:19.117Z",
"status": "pending",
"stopped_at": "2019-12-27T18:11:19.117Z",
"workspace_id": "workspace_id",
"idempotency_key": "idempotency_key"
}Returns Examples
{
"id": "id",
"completed_at": "2019-12-27T18:11:19.117Z",
"created_at": "2019-12-27T18:11:19.117Z",
"data_deleted_at": "2019-12-27T18:11:19.117Z",
"engine": "boltz-protein-screen",
"engine_version": "engine_version",
"error": {
"code": "code",
"message": "message",
"details": {}
},
"input": {
"proteins": {
"url": "https://example.com",
"url_expires_at": "2019-12-27T18:11:19.117Z"
},
"target": {
"chain_selection": {
"A": {
"chain_type": "polymer",
"crop_residues": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12
],
"epitope_residues": [
10,
11,
12
],
"flexible_residues": [
5,
6,
7
]
}
},
"structure": {
"url": "https://example.com",
"url_expires_at": "2019-12-27T18:11:19.117Z"
},
"type": "structure_template"
}
},
"livemode": true,
"progress": {
"num_proteins_failed": 0,
"num_proteins_screened": 0,
"total_proteins_to_screen": 1,
"latest_result_id": "latest_result_id"
},
"started_at": "2019-12-27T18:11:19.117Z",
"status": "pending",
"stopped_at": "2019-12-27T18:11:19.117Z",
"workspace_id": "workspace_id",
"idempotency_key": "idempotency_key"
}