Annotated Stochastic Context Free Grammars for Analysis and Synthesis of Proteins

Eva Sciacca, Salvatore Spinella, Dino Ienco, Paola GianniniEvoBio 2011

TL;DR

This paper introduces a novel framework using Annotated Stochastic Context-Free Grammars (ASCFGs) to analyze protein sequences and their functional domains. By combining Bayesian text classification with clustering techniques, the authors demonstrate a method to not only understand existing protein structures but also to synthesize new, multi-functional proteins with desired properties.

What Problem Does This Paper Address?

Understanding the function of proteins is a fundamental challenge in biology. While protein sequences hold the key to their structure and function, deciphering the complex relationship between them has been difficult. Traditional methods like Hidden Markov Models (HMMs) are powerful for motif detection but often lack interpretability, making it hard to gain biological insights. Furthermore, the rapid discovery of new proteins necessitates automated methods for classification and the ability to design novel proteins with specific functionalities. This paper aims to bridge this gap by developing a more interpretable grammatical framework for protein analysis and synthesis.

Methods

The core of this work lies in the development of Annotated Context-Free Grammars (ACFGs) and subsequently Annotated Stochastic Context-Free Grammars (ASCFGs).

  • Annotated Context-Free Grammars (ACFGs): These are Context-Free Grammars where non-terminal symbols are annotated with domain identifiers. The process starts by treating protein sequences as formal languages. An n-gram Bayesian classifier is used to annotate these non-terminal symbols, linking subsequences to specific protein domains. The grammar is built incrementally, identifying frequent patterns (motifs) and replacing them with new, annotated non-terminal symbols. This bottom-up approach, inspired by LZ77 compression, allows for the analysis of connections between protein sequences and their functional domains.
  • n-gram Bayesian Text Classifier: This component assigns protein subsequences to one of several pre-defined domains. It leverages Bayes' rule and assumes independence between n-gram partitions within a given domain to compute posterior probabilities. The paper specifically mentions using "dbacl," a digramic Bayesian classifier, meaning each amino acid is predicted based on its immediate predecessor.
  • Clustering Techniques: To build ASCFGs, the annotated non-terminal symbols from ACFGs are clustered. Two techniques are employed:
  • Quality Threshold (QT) Clustering: This algorithm aims to find large clusters with quality guarantees, ensuring that sequences within a cluster do not exceed a defined diameter. The similarity between sequences is measured using the BLOSUM62 matrix.
  • Co-Clustering: This technique simultaneously clusters rows and columns of a matrix, useful for high-dimensional data. It uses the Goodman-Kruskal $\tau$ measure to assess association between categorical variables.
  • Annotated Stochastic Context-Free Grammars (ASCFGs): By clustering the non-terminal symbols of an ACFG, ASCFGs are created. Each production rule in an ASCFG is augmented with a probability, reflecting the relative frequency of its occurrence. This probabilistic aspect is crucial for the synthesis of new protein sequences.

Datasets

The primary dataset used in this study is a collection of 255 full-length sequences from the frog Antimicrobial Peptide (AMP) family, obtained from the PFAM database (PF08023). For training the domain models, the authors also utilized Pfam alignments from the Brevenin family (PF03032).

Key Insights and Ideas

  • Grammatical Representation for Biological Insight: The use of ACFGs provides a more structured and interpretable way to analyze protein sequences compared to linear annotations from methods like Profile HMMs. The derivation trees offer visual insights into how domains are organized and related within a protein.
  • Convergent Evolution Hypothesis: The observation that some "AMP" nodes are contained within "BREVENIN" nodes in the derivation trees suggests a potential common ancestor that conserved motifs, leading to the evolution of the "BREVENIN" domain. This highlights the framework's ability to infer evolutionary relationships.
  • Synthesis of Novel Proteins: The ASCFG framework, by incorporating probabilistic rules derived from clustering, opens the door to synthesizing new protein chains with properties mimicking the original family. This is a significant step towards designing multi-functional proteins.
  • Clustering Identifies Correlated Symbols: The comparison of domain frequencies generated by ASCFG with those from null models (random clusters) indicates that both QT and Co-Clustering effectively identify groups of correlated non-terminal symbols, leading to more biologically relevant synthesized sequences.

Key Results

  • The developed ACFG for the frog AMP family (GFROG) contained 1446 annotated non-terminal symbols.
  • The derivation tree analysis of a sample protein (Gaegurin-4) visually demonstrated the hierarchical relationship between "AMP" and "BREVENIN" domains.
  • When synthesizing new protein chains using ASCFG (SGFROG), the domain frequencies obtained using both CoC and QT clustering techniques closely matched the distribution of the original protein sequences. This was not observed when using random clusters (null model), suggesting the clustering strategies effectively captured underlying structural and functional correlations.
  • The paper suggests that QT, with its parameterized distance and diameter control, might be more accurate in detecting patterns of similar sequences, leading to better highlighted structures in the synthesized proteins.

Limitations and Future Work

  • Parameter Tuning: While Co-Clustering was presented as parameter-free, the paper notes that for CoC, it was necessary to truncate derivation trees to avoid infinite length sequences. QT, on the other hand, did not require this final filtering, suggesting its parameterization might be more robust. The paper also mentions that the QT parameter $\alpha$ implicitly allows modeling derivation tree lengths.
  • Grammatical Inference: The authors plan to implement grammatical inference (GI) algorithms for ASCFGs. This would enable the development of models to predict the presence or absence of specific domains within a protein sequence.
  • Enriching Annotations: Future work also includes optimizing grammatical structures by enriching them with other annotations, potentially leading to more refined analysis and synthesis capabilities.

Summary updated

BibTeX
@inproceedings{sciacca2011annotated,
  author = {Eva Sciacca and Salvatore Spinella and Dino Ienco and Paola Giannini},
  title = {{Annotated Stochastic Context Free Grammars for Analysis and Synthesis of Proteins}},
  booktitle = {EvoBio},
  year = {2011},
  doi = {10.1007/978-3-642-20389-3\_8},
}
Figure