Sequence Motifs and Protein Domains
Key Concepts
- Motif: short functional pattern (<20 aa), does not fold independently (e.g. NLS, phosphorylation site)
- Domain: structurally independent unit (50–300 aa), folds on its own, recurs across proteins (e.g. SH2, kinase domain)
- Profile HMM (Pfam): represents a domain family with match, insert, and delete states; scores in bits vs null model
PWM Construction and Scanning
import numpy as np
import re
BASES = ['A', '
[Description truncada. Veja o README completo no GitHub.]