seqann.feature_client.apis package

Submodules

seqann.feature_client.apis.features_api module

No descripton provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)

OpenAPI spec version: 1.0

Generated by: https://github.com/swagger-api/swagger-codegen.git

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

class seqann.feature_client.apis.features_api.FeaturesApi(api_client=None)[source]

Bases: object

NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. Ref: https://github.com/swagger-api/swagger-codegen

create_feature(**kwargs)[source]

Create an enumerated sequence feature

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a callback function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.create_feature(callback=callback_function)

Parameters:
  • function (callback) – The callback function for asynchronous request. (optional)
  • body (FeatureRequest) –
Returns:

Feature If the method is called asynchronously, returns the request thread.

create_feature_with_http_info(**kwargs)[source]

Create an enumerated sequence feature

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a callback function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.create_feature_with_http_info(callback=callback_function)

Parameters:
  • function (callback) – The callback function for asynchronous request. (optional)
  • body (FeatureRequest) –
Returns:

Feature If the method is called asynchronously, returns the request thread.

get_feature_by_path(locus, term, rank, accession, **kwargs)[source]

Retrieve an enumerated sequence feature

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a callback function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.get_feature_by_path(locus, term, rank, accession, callback=callback_function)

Parameters:
  • function (callback) – The callback function for asynchronous request. (optional)
  • locus (str) – locus name or URI (required)
  • term (str) – Sequence Ontology (SO) term name, accession, or URI (required)
  • rank (int) – feature rank, must be at least 1 (required)
  • accession (int) – accession, must be at least 1 (required)
Returns:

Feature If the method is called asynchronously, returns the request thread.

get_feature_by_path_with_http_info(locus, term, rank, accession, **kwargs)[source]

Retrieve an enumerated sequence feature

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a callback function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.get_feature_by_path_with_http_info(locus, term, rank, accession, callback=callback_function)

Parameters:
  • function (callback) – The callback function for asynchronous request. (optional)
  • locus (str) – locus name or URI (required)
  • term (str) – Sequence Ontology (SO) term name, accession, or URI (required)
  • rank (int) – feature rank, must be at least 1 (required)
  • accession (int) – accession, must be at least 1 (required)
Returns:

Feature If the method is called asynchronously, returns the request thread.

get_feature_by_query(**kwargs)[source]

Retrieve an enumerated sequence feature

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a callback function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.get_feature_by_query(callback=callback_function)

Parameters:
  • function (callback) – The callback function for asynchronous request. (optional)
  • locus (str) – locus name or URI
  • term (str) – Sequence Ontology (SO) term name, accession, or URI
  • rank (int) – feature rank, must be at least 1
  • accession (int) – accession, must be at least 1
Returns:

Feature If the method is called asynchronously, returns the request thread.

get_feature_by_query_with_http_info(**kwargs)[source]

Retrieve an enumerated sequence feature

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a callback function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.get_feature_by_query_with_http_info(callback=callback_function)

Parameters:
  • function (callback) – The callback function for asynchronous request. (optional)
  • locus (str) – locus name or URI
  • term (str) – Sequence Ontology (SO) term name, accession, or URI
  • rank (int) – feature rank, must be at least 1
  • accession (int) – accession, must be at least 1
Returns:

Feature If the method is called asynchronously, returns the request thread.

list_features(locus, **kwargs)[source]

List the enumerated sequence features at a locus

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a callback function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.list_features(locus, callback=callback_function)

Parameters:
  • function (callback) – The callback function for asynchronous request. (optional)
  • locus (str) – locus name or URI (required)
Returns:

list[Feature] If the method is called asynchronously, returns the request thread.

list_features_with_http_info(locus, **kwargs)[source]

List the enumerated sequence features at a locus

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a callback function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.list_features_with_http_info(locus, callback=callback_function)

Parameters:
  • function (callback) – The callback function for asynchronous request. (optional)
  • locus (str) – locus name or URI (required)
Returns:

list[Feature] If the method is called asynchronously, returns the request thread.

list_features_0(locus, term, **kwargs)[source]

List the enumerated sequence features matching a term at a locus

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a callback function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.list_features_0(locus, term, callback=callback_function)

Parameters:
  • function (callback) – The callback function for asynchronous request. (optional)
  • locus (str) – locus name or URI (required)
  • term (str) – Sequence Ontology (SO) term name, accession, or URI (required)
Returns:

list[Feature] If the method is called asynchronously, returns the request thread.

list_features_0_with_http_info(locus, term, **kwargs)[source]

List the enumerated sequence features matching a term at a locus

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a callback function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.list_features_0_with_http_info(locus, term, callback=callback_function)

Parameters:
  • function (callback) – The callback function for asynchronous request. (optional)
  • locus (str) – locus name or URI (required)
  • term (str) – Sequence Ontology (SO) term name, accession, or URI (required)
Returns:

list[Feature] If the method is called asynchronously, returns the request thread.

list_features_1(locus, term, rank, **kwargs)[source]

List the enumerated sequence features matching a term and rank at a locus

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a callback function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.list_features_1(locus, term, rank, callback=callback_function)

Parameters:
  • function (callback) – The callback function for asynchronous request. (optional)
  • locus (str) – locus name or URI (required)
  • term (str) – Sequence Ontology (SO) term name, accession, or URI (required)
  • rank (int) – feature rank, must be at least 1 (required)
Returns:

list[Feature] If the method is called asynchronously, returns the request thread.

list_features_1_with_http_info(locus, term, rank, **kwargs)[source]

List the enumerated sequence features matching a term and rank at a locus

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a callback function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.list_features_1_with_http_info(locus, term, rank, callback=callback_function)

Parameters:
  • function (callback) – The callback function for asynchronous request. (optional)
  • locus (str) – locus name or URI (required)
  • term (str) – Sequence Ontology (SO) term name, accession, or URI (required)
  • rank (int) – feature rank, must be at least 1 (required)
Returns:

list[Feature] If the method is called asynchronously, returns the request thread.

Module contents