CompositeQuery
#
- class biotite.database.uniprot.CompositeQuery(operator, query1, query2)[source]#
Bases:
Query
A representation of an composite query for the UniProt search service.
A composite query is a combination of two other queries, combined either with an ‘AND’, ‘OR’ or ‘NOT’ operator.
Usually the user does not create instances of this class directly, but
Query
instances are combined with|
(OR),&
(AND) or^
(NOT).- Parameters:
- operatorstr, {“AND”, “OR”, “NOT”}
The combination operator.
- query1, query2SimpleQuery
The queries to be combined.