SimpleQuery
#
- class biotite.database.entrez.SimpleQuery(term, field=None)[source]#
Bases:
Query
A simple query for the NCBI Entrez search service without combination via ‘AND’, ‘OR’ or ‘NOT’. A query consists of a search term and an optional field.
A list of available search fields with description can be found here.
- Parameters:
- term: str
The search term.
- fieldstr, optional
The field to search the term in. The list of possible fields and the required search term formatting can be found here. By default the field is omitted and all fields are searched in for the term, implicitly.
Examples
>>> query = SimpleQuery("Escherichia coli") >>> print(query) "Escherichia coli" >>> query = SimpleQuery("Escherichia coli", "Organism") >>> print(query) "Escherichia coli"[Organism]
Gallery#

Customized visualization of a multiple sequence alignment
Customized visualization of a multiple sequence alignment

Fetching and aligning a protein from different species
Fetching and aligning a protein from different species