biocentral_api 1.1.2
biocentral_api: ^1.1.2 copied to clipboard
biocentral_server OpenAPI API client
biocentral_api - Dart Client #
Usage #
This library is primarily designed to be used within the biocentral frontend. You can find usage examples there. The openapi specification can be found here.
Post-generation setup #
- Fix
lib/src/model/biotrainer_sequence_record.dartwith BuiltMap - Fix
serializers.dart:
// Builder factories for nested collection types used in models
..addBuilderFactory(
const FullType(BuiltList, [FullType(Prediction)]),
() => ListBuilder<Prediction>(),
)
..addBuilderFactory(
const FullType(BuiltMap, [FullType(String), FullType(BuiltList, [FullType(Prediction)])]),
() => MapBuilder<String, BuiltList<Prediction>>(),
)
- Run
dart run build_runner build --delete-conflicting-outputs
Citation #
Please cite our paper if you are using the biocentral API in your work:
@Article{Franz2026,
author = {Franz, Sebastian and Olenyi, Tobias and Schloetermann, Paula and Smaoui, Amine and Jimenez-Soto, Luisa F. and Rost, Burkhard},
journal = {Journal of Molecular Biology},
title = {biocentral: embedding-based protein predictions},
year = {2026},
issn = {0022-2836},
month = jan,
pages = {169673},
doi = {10.1016/j.jmb.2026.169673},
groups = {[JMB] biocentral: embedding-based protein predictions, swc_bo_engineering},
publisher = {Elsevier BV},
}