SeqMotifOperator {rPDBapi}R Documentation

Create a Sequence Motif Operator for Searches

Description

Constructs a SeqMotifOperator object for use in sequence motif searches within the RCSB PDB. This operator allows specifying a pattern, sequence type, and pattern type.

Usage

SeqMotifOperator(pattern, sequence_type, pattern_type)

Arguments

pattern

A string representing the motif pattern to search for.

sequence_type

A string indicating the type of sequence ('DNA', 'RNA', or 'PROTEIN').

pattern_type

A string indicating the type of pattern ('SIMPLE', 'PROSITE', or 'REGEX').

Value

An object of class 'SeqMotifOperator' representing the sequence motif operator.

Examples

seq_motif_operator <- SeqMotifOperator(pattern = "A[TU]G",
                                       sequence_type = "DNA",
                                       pattern_type = "REGEX")
seq_motif_operator


[Package rPDBapi version 1.3 Index]