Bioinformatics and Machine Learning Reference Guide
Introduction to Bioinformatics and Machine Learning
Bioinformatics and Genomics: Bioinformatics combines computational tools, statistics, and biological data analysis. Genomics is the comprehensive study of the structure, function, mapping, and sequencing of entire genomes.
Chargaff's Rule: In double-stranded DNA, base pairs occur in equimolar amounts: Adenine equals Thymine (A=T) and Guanine equals Cytosine (G=C).
Five Vs of Big Data: Volume, Velocity, Variety, Veracity, and Value characterize high-throughput biological data generation.
Artificial Intelligence (AI) and Machine Learning (ML):
AI enables systems to simulate human cognitive functions and automate complex medical decision-making.
ML develops algorithms that detect underlying patterns and infer predictive functions directly from data.
The three primary learning paradigms are Supervised Learning, Unsupervised Learning, and Reinforcement Learning.
Biological Data Types and Challenges: Includes DNA, RNA, Protein, and Gene expression profiles. Primary analysis bottlenecks involve high data dimensionality, noise from biological variability, and massive scale.
Data Preprocessing and Biological Representation
Missing Data and Imputation:
Three missing data mechanisms: Missing Completely at Random (MCAR), Missing at Random (MAR), and Missing Not at Random (MNAR).
Imputation techniques include mean/median substitution, k-Nearest Neighbors (k-NN), multiple imputation, expectation-maximization, and matrix factorization.
Artifacts and Normalization:
Outliers denote anomalous observations deviating from baseline distributions; batch effects represent technical variations across experimental processing runs.
Normalization techniques in gene expression (such as Min-Max scaling, Z-score standardization, and Quantile normalization) eliminate technical biases and sequencing depth variations.
Sequence Encoding Strategies:
Label Encoding: Assigns unique numerical values to nucleotide bases.
One-Hot Encoding: Converts each base into a binary orthogonal vector (A=[1,0,0,0]T, C=[0,1,0,0]T, G=[0,0,1,0]T, T=[0,0,0,1]T).
k-mer Representation: Analyzes the frequencies of sub-sequences of length k.
Biological File Formats:
FASTA: Text-based format storing nucleotide or peptide sequences with header lines starting with >.
Receiver Operating Characteristic (ROC) curves evaluate the True Positive Rate against the False Positive Rate across thresholds, quantified by ROC-AUC.
Validation strategies include K-fold, Stratified K-fold (maintains proportional class representation), and Leave-One-Out Cross-Validation (LOOCV).
Unsupervised Learning, Clustering, and Manifold Learning
Unsupervised Learning: Discovers hidden structures, clustering boundaries, and latent distributions without predefined ground-truth labels.
Hierarchical Clustering:
Forms tree-structured cluster hierarchies visualized via dendrograms.
Four primary linkage methods: Single linkage (minimum pairwise distance), Complete linkage (maximum pairwise distance), Average linkage (mean pairwise distance), and Ward's method (minimum variance increase).
DBSCAN (Density-Based Spatial Clustering of Applications with Noise):
Classifies points based on neighborhood radius (ε) and minimum density threshold (MinPts) into:
Core Points: Contain at least MinPts within radius ε.
Border Points: Within radius ε of a core point but have fewer than MinPts.
Noise Points: Neither core nor border points.
K-Means Clustering and Elbow Method:
Partitions data into K clusters by iteratively assigning samples to nearest cluster centroids and updating cluster means.
Optimal K is identified using the Elbow Method by locating the inflection point in the Within-Cluster Sum of Squares (WCSS) plot.
Dimensionality Reduction Techniques:
PCA (Principal Component Analysis): Linear transformation that standardizes data, constructs a covariance or correlation matrix, and identifies orthogonal eigenvectors and eigenvalues corresponding to maximum variance.
t-SNE and UMAP: Non-linear manifold learning algorithms optimized for low-dimensional visualization preserving local and global geometric relationships in single-cell and gene expression data.
Deep Learning Architectures in Bioinformatics
Artificial Neural Networks:
Composed of an input layer, one or more hidden layers, and an output layer.
Output computation of a neuron:
z=∑i=1nwixi+b
Common activation functions: Sigmoid (1+e−z1), ReLU (max(0,z)), and Tanh (ez+e−zez−e−z).
Softmax normalization converts unnormalized logits into categorical probabilities:
P(y=i)=∑jezjezi
Convolutional Neural Networks (CNN): Extract local, spatially invariant motifs (such as DNA sequence motifs or 2D contact maps) using sliding convolution kernels, pooling layers, and dense output layers.
Recurrent Neural Networks (RNN):
Specialize in modeling sequential biological dependencies.
The vanishing gradient problem in vanilla RNNs is addressed through gated memory units: Long Short-Term Memory (LSTM) using input, forget, and output gates; and Gated Recurrent Units (GRU) using reset and update gates.
Transformers and Attention:
Rely on self-attention mechanisms to weigh pairwise feature dependencies globally without recurrence:
Attention(Q,K,V)=softmax(dkQKT)V
Positional encodings provide sequence order context into the transformer architecture.
Advanced Machine Learning, Explainability, and Biomedical Ethics
Ensemble Learning Techniques:
Combines multiple base learners to achieve enhanced predictive robustness and lower variance.
Four primary techniques: Bagging (Bootstrap Aggregating), Boosting, Stacking, and Voting.
Explainable AI (XAI):
Provides human-interpretable rationale for black-box algorithmic outputs in clinical and biological domains.
SHAP (SHapley Additive exPlanations): Utilizes cooperative game theory to distribute fair contribution values to individual input features.
LIME (Local Interpretable Model-agnostic Explanations): Builds locally faithful, interpretable surrogate models around specific individual predictions.
Translational Bioinformatics:
ADMET: Computes Absorption, Distribution, Metabolism, Excretion, and Toxicity profiles for candidate pharmaceutical compounds.
Precision Medicine: Delivers customized patient therapies tailored to individual genetic, molecular, and environmental profiles.
Biomedical AI Biases and Ethical Challenges:
Sampling Bias: Skewed or non-representative patient cohorts.
Measurement Bias: Systematic inaccuracies in assay readings or clinical diagnostic tools.
Label Bias: Inconsistent or erroneous annotations in ground-truth labels.
Algorithmic Bias: Inherent optimization choices that amplify demographic disparities.
Historical Bias: Cultural or healthcare inequities captured within historical medical records.