benchling_sdk.services.v2.stable.feature_library_service module

class FeatureLibraryService

Bases: benchling_sdk.services.v2.base_service.BaseService

Feature Libraries.

Feature Libraries are collections of shared canonical patterns that can be used to generate annotations on matching regions of DNA Sequences or AA Sequences. See https://benchling.com/api/reference#/Feature%20Libraries

bulk_create_features(features: Iterable[FeatureBulkCreate]) AsyncTaskLink

Bulk create features.

See https://benchling.com/api/reference#/Feature%20Libraries/bulkCreateFeatures

create(feature_library: FeatureLibraryCreate) FeatureLibrary

Create a new feature library.

See https://benchling.com/api/reference#/Feature%20Libraries/createFeatureLibrary

create_feature(feature: FeatureCreate) Feature

Create a feature.

See https://benchling.com/api/reference#/Feature%20Libraries/createFeature

get_by_id(feature_library_id: str) FeatureLibrary

Get a feature library by id.

See https://benchling.com/api/reference#/Feature%20Libraries/getFeatureLibrary

get_feature_by_id(feature_id: str) Feature

Get a feature by id.

See https://benchling.com/api/reference#/Feature%20Libraries/getFeature

list(modified_at: Optional[str] = None, name: Optional[str] = None, name_includes: Optional[str] = None, ids: Optional[Iterable[str]] = None, names_any_of: Optional[Iterable[str]] = None, sort: Optional[Union[str, ListFeatureLibrariesSort]] = None, page_size: Optional[int] = None) PageIterator[FeatureLibrary]

List Feature Libraries.

See https://benchling.com/api/reference#/Feature%20Libraries/listFeatureLibraries

list_features(page_size: Optional[int] = None, name: Optional[str] = None, ids: Optional[Iterable[str]] = None, namesany_ofcase_sensitive: Optional[Iterable[str]] = None, feature_library_id: Optional[str] = None, feature_type: Optional[str] = None, match_type: Optional[ListFeaturesMatchType] = None) PageIterator[Feature]

List Features.

See https://benchling.com/api/reference#/Feature%20Libraries/listFeatures

update(feature_library_id: str, feature_library: FeatureLibraryUpdate) FeatureLibrary

Update a feature library.

See https://benchling.com/api/reference#/Feature%20Libraries/updateFeatureLibrary

update_feature(feature_id: str, feature: FeatureUpdate) Feature

Update a feature.

See https://benchling.com/api/reference#/Feature%20Libraries/updateFeature