Exploratory Association Figures
Figure 1:
The SNPeBoT family of predictors was initially designed to tackle the prediction of allele specific binding (ASB) events. These events occur when a single mutation (SNP) along DNA will result in a change of Transcription Factor (TF) binding. When a SNP occurs along a DNA sequence it may either change the binding pattern of a TF in. Which NPeBoT family of predictors was initially designed to tackle the prediction of allele specific binding (ASB) events. These events occur when a single mutation (SNP) along DNA will result in a change of Transcription Factor (TF) binding. When a SNP occurs along a DNA sequence it may either change the binding pattern of a TF in which case it must be determined to lead to either a gain or loss in binding or it could have no measurable effect on the TFs binding.
When the SNP changes the binding behavior of a TF it can have downstream effects as well. The genes that the TF regulates from its perturbed binding state at that given genomic coordinate can consequently also see changes in expression. When the alteration of the expression of these genes is signifiant enough to have phenotypic consequences it can be said that the SNP and ASB are of medical significance. It therefore becomes of great importance to be able to identify these SNPs. This is what we have tried to achieve.
Figure 2:
In a previous work we developed and published SNPeBoT. SNPeBoT can be accessed through the url (https://snpebot.upf.edu/). Like SNPeBoT2 it will take as TF information as well as reference and alternate binding sequences and predict if the SNP on the alternate sequence will perturb the binding of the selected TF or scan for a TF to use on its own.
Figure 3:
The SNPeBoT design was limited by its reliance on PBM data to generate the data needed to train and run the predictive model. Due to this limitation any TF that had not undergone PBM experiments and consequently had no E-score values associated with it could not be handled by SNPeBoT. While the SNPeBoT predictor performed quite well on the TFs that it could predict on this limitation prevented broader applicability.
Figure 4:
However ModCRE (http://aleph.upf.edu/modcre/) presented a solution to the problem faced by SNPeBoT. It is capable taking an amino acid sequence of a target TF as input and generating a 3D model of that TF binding DNA. This 3D model is then used by ModCRE do generate statistical potential scoring profiles for the binding of the TF along any input DNA sequence.
In order to apply the ModCRE approach to the issue of ASB predictions it had to be adapted. ModCRElib (https://github.com/structuralbioinformatics/ModCRElib) was developed, a standalone package adapting ModCRE methods to high throughput jobs as well as extending its functionality.
Figure 5:
Like with SNPeBoT, the training and testing data for SNPeBoT2 is derived from experimental ASB data. However, due to the shedding of PBM data requirements the data upon which to train SNPeBoT2 is increased. The wildtype and mutant sequences are then put through ModCRElib to generate statistical potential scoring profiles. Like with SNPeBoT multiple snapshots of the region including the SNP are taking for profiling. The profiles of the wildtype and mutant sequences can then be compared.
Figure 6:
The architecture of the SNPeBoT2 ASB predictor is very similar to that of SNPeBoT shown in figure 3. However, there is one major difference and that is the replacement of PBM data with the statistical potential scores generated with ModCRElib. Because ModCRElib needs only an amino acid sequence of a TF as input in order to generate its scoring data any TF can be applied.
With respect to SNPeBoT its successor, SNPeBoT2, is a completely different model. Aside for the change in how ASBs are converted into input features there is a difference in the training data, the model architecture and the model was also able to be tested on different data sets.
Figure 7:
To evaluate directly how well SNPeBoT compare to SNPeBoT and other available ASB predictors we first applied it to the test set of PBM available ASB data from the SNPeBoT paper. As can be seen in Figure 7 the ASB recall rate of SNPeBoT2 was higher than all other models tested. The macro averaged accuracy of SNPeBoT was only marginally lower than the best thresholds for the other models meaning that an increase in ASBs recovered came at only a slight cost to predictive accuracy.
When looking closely at the performance on the PBM ASB data in B of Figure 7 we can see that SNPeBoT2 was able to distinguish quite well between the cases where a SNP resulted in perturbation of TF binding compare to those that cause no change. In contrast it had a harder time distinguishing between gain and loss. This is also reflected when SNPeBoT2 is applied to a seperate test set of ASB data that did not have associated PBM data. While the misclassification of perturbation directionality is present it is much more important that the number of false positive predictions (when viewing the problem as a binary change or no change in binding prediction) remains low. Changes in TF binding on its own can indicate whether a SNP is relevant for downstream regulatory effects. Further examination can then be used to differentiate between the directionality if the reduced accuracy of SNPeBoT2s predictions is not enough.
Figure 8:
In order to give the SNPeBoT2 model some flexibility we applied transfer learning to fine tune it to family specific models. The ASB data scarcity disallowed the generation of TF family specific models for all TF families. Instead the top 10 TF families were selected for testing the fine tuning. As the results in Figure 8 show, fine tuning was successful, with the fine tuned models outperforming the base model in cases where there was sufficient transfer learning data. However this highlights the pattern observed, where the performance of the transfer model is greatly reliant on the amount of data available.
We have supplied python code for users to apply transfer learning to the SNPeBoT2 model in cases where they believe they have sufficient data to do so. This affords SNPeBoT2 with a flexibility, which means that it can be adapted to whatever task is required by the end user.
Figure 9:
To further process regulatory SNPs we designed a filtration process to order SNPs according to how likely we determine the SNP to be involved in disease etiology. Every SNP receives scores for their SNPeBoT2 prediction, ABC regulator prediction, gene proximity, and gene-disease association. These are then ranked according to their completeness. While this is not a definitive selection of regulatory SNPs that cause disease it provides a filtration of SNPs down to the ones that should be the most interesting for further investigation. After associations are scored, the user can also decide to run a quick enrichment analysis to see what Biological Processes and Molecular Function terms are enriched in the associations receiving a full completeness score.
Figure 10:
To test the ABC models applicability within SNPeBoT2's disease association pipeline we applied it to a known regulators. It predicts enhancers with high precision and specificity which keeps the number of false positives at a minimum.
Figure 11:
A random selection of 15 rsids were selected to demonstrate the full SNPeBoT2 pipeline. Of these, 8 received a positive perturbation prediction and 5 achieved a completeness score of 4.
Association Analysis Output Headers
Describing each column found in the association anlalysis output csv file.
Headers for the csv output files generated by the association analysis are outlined below:
| Column Header Field | Data Representation | Functional Analytical Meaning / Context |
|---|---|---|
TargetGeneSymbol |
String | The official HGNC approved gene short name character symbol mapping identifier closest to the variant locus coordinate points. |
TargetGeneID |
Integer | NCBI Entrez Gene database system global alphanumeric key record parameter locator used for systemic reference cross checks. |
SNPeBoT2_prediction |
Categorical | SNPeBoT2 predicted binding impact classification showing directional influence markers mapped as either gain , loss , orno-change parameters. |
gene_distance_bp |
Integer | The linear genomic distance measurement window counted explicitly in base pairs separating the targeted variant element from transcription start sites. |
regulator_score |
Float | 0 for an ABC model derived classification of the SNP residing on a regulator of target gene. Score of 1 indicating it does occur on a regulator. |
regulator |
String | Boolean indicating if the ABC model predicted the SNP to occur on a regulator of the target gene. |
disease_name |
String | The Disease name that DISGENET found to be associated to altered expression of the target gene. |
pmid |
String | The pmid supporting the DISGENET derived disease association with the target gene. |
completeness_score |
Integer | The final integrated structural profile composite confidence index measurement score value evaluating target variant processing pipelines. |
Enrichment analysis output
Enrichment analysis for a quick overview of association results.
For each job, the pipeline produced: (i) a per-direction weighted gene table; (ii) a combined enrichment results table spanning all directions and library categories, in both CSV and JSON formats; (iii) a disease provenance summary in JSON format; and (iv) summary bar plots of the top enriched terms per direction–category combination, ranked by −log₁₀(adjusted p-value).