biocentral_api 1.1.2 copy "biocentral_api: ^1.1.2" to clipboard
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 #

  1. Fix lib/src/model/biotrainer_sequence_record.dart with BuiltMap
  2. 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>>(),
      )
  1. 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},
}
0
likes
120
points
105
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

biocentral_server OpenAPI API client

Repository (GitHub)
View/report issues

License

GPL-3.0 (license)

Dependencies

built_collection, built_value, dio, one_of, one_of_serializer

More

Packages that depend on biocentral_api