MotifQuery
#
- class biotite.database.rcsb.MotifQuery(pattern, pattern_type, scope)[source]#
Bases:
SingleQuery
A query for protein/DNA/RNA molecules containing the given sequence motif.
- Parameters:
- patternstr
The sequence pattern.
- pattern_type{‘simple’, ‘prosite’, ‘regex’}
The type of the pattern.
- scope{‘protein’, ‘dna’, ‘rna’}
The type of molecule to find.
Examples
>>> query = MotifQuery( ... "C-x(2,4)-C-x(3)-[LIVMFYWC]-x(8)-H-x(3,5)-H.", ... "prosite", ... "protein" ... )