...
Code Block | ||
---|---|---|
| ||
{ "alignments": [ { "alnseq": "---mdeldanvtflsa VILMMVAV 0 CRDRLR k", "basedOn": "W5P3X7", "basedOnAlnseq": "---mdvvlltflsa VVMVAV 0 CQLR k", "coreidentity": 0.4669421487603306, "creationDate": null, "familyid": 1, "sfamid": "NR_demo_2008", "subfamily": "2Y00A", "subfamilyid": 1 } ], "crc64": "5AD84C839BC59B38", "created": 1528960179030, "customId": "CP_test", "customJson": null, "description": "Panel hit 4X", "genename": "HTR4", "id": "5b2214b5d150683068d3e135", "lastmodified": 1528960179030, "lastmodifiedby": "{username}", "sequence": "MDELDANVSAKEGFKSVEKVVLLTFLSAVILMAI...", "sharedWith": 101, "species": "Ovis aries (Sheep)", "taxonomyid": 9940, "messages" : [ { "messageid" : "a04ac7b6-41c7-45a8-849f-a3ab45ac34e8", "timestamp" : 1541671271437, "text" : "Created new custom protein document", "username" : "{username}" }, { "messageid" : "3705d13d-1aee-4a8c-9b9c-e7430b83dd74", "timestamp" : 1541671271650, "text" : "Aligned custom protein to system NR_demo_2008 family 1", "username" : "{username}" } ], } |
Store multiple documents
A batch insert option is available to store multiple custom proteins at once. This option can be invoked using a POST request to https://api.bio-prodict.nl/customproteindata/customProteinDocument/batch with a list of input documents as body. The input documents are described in the store single document paragraph. The endpoint will respond with a location url in the response headers of format https://api.bio-prodict.nl/customproteindata/poll/{uuid} This url can be polled to check on the progress of creating new custom proteins. When finished the poll call will respond with a retrieve endpoint that can be used to retrieve a list of all custom proteins stored successfully.
Align existing document in new super-family
...