fredzzp commited on
Commit
23cd74d
·
verified ·
1 Parent(s): 9ef0acd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +72 -0
README.md CHANGED
@@ -32,3 +32,75 @@ configs:
32
  - split: test
33
  path: data/test-*
34
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  - split: test
33
  path: data/test-*
34
  ---
35
+
36
+
37
+
38
+ ## Background
39
+
40
+ ### What is Protein Contact Prediction?
41
+
42
+ Protein contact prediction is a fundamental task in computational biology that aims to predict which amino acid residues in a protein sequence are in close spatial proximity (typically within 8Å) in the protein's 3D structure. This information is crucial for:
43
+
44
+ - **Protein structure prediction**
45
+ - **Understanding protein folding mechanisms**
46
+ - **Drug discovery and design**
47
+ - **Evolutionary analysis**
48
+
49
+ ### Linear Probing for Protein Language Models
50
+
51
+ Linear probing is a technique used to evaluate the quality of learned representations from pre-trained language models. In the context of protein language models (PLMs):
52
+
53
+ 1. **Freeze** the pre-trained model parameters
54
+ 2. **Train** only a simple linear classifier on top of the frozen embeddings
55
+ 3. **Evaluate** how well the linear classifier performs on downstream tasks
56
+
57
+ This approach helps assess the quality of protein representations learned by different PLMs without the confounding effects of fine-tuning the entire model.
58
+
59
+
60
+
61
+ ## Task Definition
62
+
63
+ ### Contact Map Generation
64
+
65
+ | Parameter | Value | Description |
66
+ |-----------|--------|-------------|
67
+ | **Distance Threshold** | 8.0 Å | Distance between Cα atoms |
68
+ | **Sequence Separation** | ≥ 6 residues | Minimum separation (\|i-j\| ≥ 6) |
69
+ | **Valid Contacts** | Required | Only consider residues with valid 3D coordinates |
70
+
71
+ ### Evaluation Metrics
72
+
73
+ The evaluation follows standard contact prediction protocols with precision at different coverage levels:
74
+
75
+ #### Range Categories
76
+
77
+ | Range | Separation | Description |
78
+ |-------|------------|-------------|
79
+ | **Short Range** | 6 ≤ \|i-j\| ≤ 11 | Local contacts |
80
+ | **Medium Range** | 12 ≤ \|i-j\| ≤ 23 | Medium-distance contacts |
81
+ | **Long Range** | \|i-j\| ≥ 24 | Long-distance contacts |
82
+
83
+ #### Precision Metrics
84
+
85
+ - **P@L**: Precision at top L contacts (L = sequence length)
86
+ - **P@L/2**: Precision at top L/2 contacts
87
+ - **P@L/5**: Precision at top L/5 contacts
88
+
89
+ Each metric is calculated separately for each range category, resulting in **9 total metrics** per evaluation.
90
+
91
+
92
+
93
+ ### Dataset Format
94
+
95
+ The system uses HuggingFace datasets with entries containing:
96
+
97
+ ```json
98
+ {
99
+ "seq": "MKTFFVLVLLPLVSSQCVNLTTRTQLPPAYTNSFTRGVYYPDKVFRSSVLHSTQDLFL",
100
+ "tertiary": [[x1,y1,z1], [x2,y2,z2], ...],
101
+ "valid_mask": [true, true, false, ...]
102
+ }
103
+ ```
104
+
105
+ **Default Dataset**: `fredzzp/contact_data` (automatically downloaded from HuggingFace Hub)
106
+