Update double_similar/README.md
Browse files- double_similar/README.md +5 -94
double_similar/README.md
CHANGED
|
@@ -35,7 +35,7 @@ This pipeline identifies high-confidence anti-CRISPR (ACR) candidates from Folds
|
|
| 35 |
│ Step 2: Structural Similarity Screening (Foldseek) │
|
| 36 |
│ ├─ 2a: Inhibition Type Probability Screening │
|
| 37 |
│ │ - inhibition_type_probability = 1.0 │
|
| 38 |
-
│ │
|
| 39 |
│ └─ 2b: TM-score Thresholding │
|
| 40 |
│ - alntmscore > 0.7 │
|
| 41 |
│ - qtmscore > 0.7 │
|
|
@@ -61,18 +61,14 @@ This pipeline identifies high-confidence anti-CRISPR (ACR) candidates from Folds
|
|
| 61 |
┌────────────┴────────────┐
|
| 62 |
▼ ▼
|
| 63 |
┌──────────────┐ ┌──────────────┐
|
| 64 |
-
│ Pass:
|
| 65 |
│ records │ │ (In DB) │
|
| 66 |
└──────┬───────┘ └──────────────┘
|
| 67 |
│
|
| 68 |
▼
|
| 69 |
┌─────────────────────────────────────────────────────────────────┐
|
| 70 |
│ Final Candidates │
|
| 71 |
-
│ -
|
| 72 |
-
│ - Distribution: AcrIF3(2), AcrIF11(2), AcrIE8.1(1), │
|
| 73 |
-
│ AcrIB2(1), AcrIE2(1), AcrIIA12(1), │
|
| 74 |
-
│ AcrIC9(1), AcrIIA14(1), AcrIE9(1), │
|
| 75 |
-
│ AcrIC6(1) │
|
| 76 |
└─────────────────────────────────────────────────────────────────┘
|
| 77 |
```
|
| 78 |
|
|
@@ -90,14 +86,6 @@ This pipeline identifies high-confidence anti-CRISPR (ACR) candidates from Folds
|
|
| 90 |
| `acr_verified_2025_pdb/*.pdb` | Reference structure database for Foldseek | anti-CRISPRdb v3.0 (verified) | - |
|
| 91 |
| `anti-CRISPRdb3_for_psiblast.fasta` | Deduplication reference DB | anti-CRISPRdb v3.0 (non-predict) | 1,192 |
|
| 92 |
|
| 93 |
-
### Output Files
|
| 94 |
-
|
| 95 |
-
| File | Description | Records |
|
| 96 |
-
|------|-------------|---------|
|
| 97 |
-
| `seq_similar_foldseek_out_2025_acr_2026.csv` | Foldseek structural alignment results | 312 |
|
| 98 |
-
| `filtered_high_confidence.csv` | High-confidence candidates (Steps 1-2) | 26 |
|
| 99 |
-
| `filtered_not_in_db.csv` | Final novel candidates (All steps) | 12 |
|
| 100 |
-
|
| 101 |
---
|
| 102 |
|
| 103 |
## Software and Tools
|
|
@@ -125,7 +113,6 @@ Candidate prophage proteins are subjected to homology screening against the anti
|
|
| 125 |
| Metric | Value |
|
| 126 |
|--------|-------|
|
| 127 |
| Input records | All prophage proteins |
|
| 128 |
-
| Records passing | 312 |
|
| 129 |
|
| 130 |
### Step 2: Structural Similarity Screening (Foldseek-based)
|
| 131 |
|
|
@@ -137,11 +124,6 @@ Sequence-similar candidates from Step 1 undergo three-dimensional structural com
|
|
| 137 |
|
| 138 |
This threshold ensures only candidates with the highest confidence for CRISPR-Cas inhibition mechanism are retained. The inhibition type probability represents the classifier's confidence that the query protein shares the same inhibition mechanism as the target ACR.
|
| 139 |
|
| 140 |
-
| Metric | Value |
|
| 141 |
-
|--------|-------|
|
| 142 |
-
| Input records | 312 |
|
| 143 |
-
| Records passing | 26 |
|
| 144 |
-
| Retention rate | 8.3% |
|
| 145 |
|
| 146 |
#### Step 2b: Structural Similarity Thresholding (TM-score)
|
| 147 |
|
|
@@ -155,81 +137,10 @@ This threshold ensures only candidates with the highest confidence for CRISPR-Ca
|
|
| 155 |
|
| 156 |
**Rationale:** TM-score thresholds of >0.7 indicate proteins with highly similar 3D structures, suggesting conserved functional mechanisms. All three metrics are required to ensure bidirectional structural conservation between query and target.
|
| 157 |
|
| 158 |
-
| Metric | Value |
|
| 159 |
-
|--------|-------|
|
| 160 |
-
| Input records | 26 |
|
| 161 |
-
| Records passing | 26 |
|
| 162 |
-
| Retention rate | 100% |
|
| 163 |
-
|
| 164 |
### Step 3: Reference Database Filtering
|
| 165 |
|
| 166 |
-
**Database:** `anti-
|
| 167 |
- Total sequences: 1,192
|
| 168 |
- Source: anti-CRISPRdb v3.0 (excluding predicted entries)
|
| 169 |
|
| 170 |
-
**Criterion:** Candidate sequence must **NOT** be present in the reference database.
|
| 171 |
-
|
| 172 |
-
| Metric | Value |
|
| 173 |
-
|--------|-------|
|
| 174 |
-
| Input records | 26 |
|
| 175 |
-
| Records removed (in DB) | 14 |
|
| 176 |
-
| Records retained | 12 |
|
| 177 |
-
| Retention rate | 46.2% |
|
| 178 |
-
|
| 179 |
-
---
|
| 180 |
-
|
| 181 |
-
## Statistics Summary
|
| 182 |
-
|
| 183 |
-
| Filtering Step | Records In | Records Out | Retention Rate | Cumulative Rate |
|
| 184 |
-
|----------------|------------|-------------|----------------|-----------------|
|
| 185 |
-
| Step 1: BLASTP screening | All | 312 | - | - |
|
| 186 |
-
| Step 2a: Probability = 1.0 | 312 | 26 | 8.3% | 8.3% |
|
| 187 |
-
| Step 2b: TM-scores > 0.7 | 26 | 26 | 100% | 8.3% |
|
| 188 |
-
| Step 3: Remove DB matches | 26 | 12 | 46.2% | 3.8% |
|
| 189 |
-
| **Final candidates** | **312** | **12** | **-** | **3.8%** |
|
| 190 |
-
|
| 191 |
-
---
|
| 192 |
-
|
| 193 |
-
## Final ACR Candidate Distribution
|
| 194 |
-
|
| 195 |
-
| ACR Type | Count | CRISPR-Cas System | Query IDs |
|
| 196 |
-
|----------|-------|-------------------|-----------|
|
| 197 |
-
| AcrIF3 | 2 | Type I-F | KTK51907.1, ESR95706.1 |
|
| 198 |
-
| AcrIF11 | 2 | Type I-F | WP_057390551.1, WP_103182539.1 |
|
| 199 |
-
| AcrIE8.1 | 1 | Type I-E | ATM37883.1 |
|
| 200 |
-
| AcrIB2 | 1 | Type I-B | PBF40835.1 |
|
| 201 |
-
| AcrIE2 | 1 | Type I-E | PBX41287.1 |
|
| 202 |
-
| AcrIIA12 | 1 | Type II-A | PCZ07134.1 |
|
| 203 |
-
| AcrIC9 | 1 | Type I-C | WP_016071148.1 |
|
| 204 |
-
| AcrIIA14 | 1 | Type II-A | WP_411756513.1 |
|
| 205 |
-
| AcrIE9 | 1 | Type I-E | WP_108234913.1 |
|
| 206 |
-
| AcrIC6 | 1 | Type I-C | WP_108234914.1 |
|
| 207 |
-
| **Total** | **12** | - | - |
|
| 208 |
-
|
| 209 |
-
---
|
| 210 |
-
|
| 211 |
-
## Data Availability
|
| 212 |
-
|
| 213 |
-
All input and output files are available in the `double_similar/` directory:
|
| 214 |
-
|
| 215 |
-
- **Raw data:** `seq_similar_foldseek_out_2025_acr_2026.csv`
|
| 216 |
-
- **Intermediate results:** `filtered_high_confidence.csv`
|
| 217 |
-
- **Final candidates:** `filtered_not_in_db.csv`
|
| 218 |
-
- **Reference database:** `anti-CRISPRdb3_for_psiblast.fasta`
|
| 219 |
-
|
| 220 |
-
---
|
| 221 |
-
|
| 222 |
-
## References
|
| 223 |
-
|
| 224 |
-
1. van Kempen, M. et al. Fast and accurate protein structure search with Foldseek. *Nat. Biotechnol.* **42**, 243-246 (2024).
|
| 225 |
-
2. [anti-CRISPRdb reference to be added]
|
| 226 |
-
|
| 227 |
-
---
|
| 228 |
-
|
| 229 |
-
## Contact
|
| 230 |
-
|
| 231 |
-
For questions regarding this pipeline, please contact [email to be added].
|
| 232 |
-
|
| 233 |
-
---
|
| 234 |
-
|
| 235 |
-
*Last updated: 2026-04-04*
|
|
|
|
| 35 |
│ Step 2: Structural Similarity Screening (Foldseek) │
|
| 36 |
│ ├─ 2a: Inhibition Type Probability Screening │
|
| 37 |
│ │ - inhibition_type_probability = 1.0 │
|
| 38 |
+
│ │ │
|
| 39 |
│ └─ 2b: TM-score Thresholding │
|
| 40 |
│ - alntmscore > 0.7 │
|
| 41 |
│ - qtmscore > 0.7 │
|
|
|
|
| 61 |
┌────────────┴────────────┐
|
| 62 |
▼ ▼
|
| 63 |
┌──────────────┐ ┌──────────────┐
|
| 64 |
+
│ Pass: 10 │ │ Reject: 16 │
|
| 65 |
│ records │ │ (In DB) │
|
| 66 |
└──────┬───────┘ └──────────────┘
|
| 67 |
│
|
| 68 |
▼
|
| 69 |
┌─────────────────────────────────────────────────────────────────┐
|
| 70 |
│ Final Candidates │
|
| 71 |
+
│ - 10 novel high-confidence ACRs │
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
└─────────────────────────────────────────────────────────────────┘
|
| 73 |
```
|
| 74 |
|
|
|
|
| 86 |
| `acr_verified_2025_pdb/*.pdb` | Reference structure database for Foldseek | anti-CRISPRdb v3.0 (verified) | - |
|
| 87 |
| `anti-CRISPRdb3_for_psiblast.fasta` | Deduplication reference DB | anti-CRISPRdb v3.0 (non-predict) | 1,192 |
|
| 88 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 89 |
---
|
| 90 |
|
| 91 |
## Software and Tools
|
|
|
|
| 113 |
| Metric | Value |
|
| 114 |
|--------|-------|
|
| 115 |
| Input records | All prophage proteins |
|
|
|
|
| 116 |
|
| 117 |
### Step 2: Structural Similarity Screening (Foldseek-based)
|
| 118 |
|
|
|
|
| 124 |
|
| 125 |
This threshold ensures only candidates with the highest confidence for CRISPR-Cas inhibition mechanism are retained. The inhibition type probability represents the classifier's confidence that the query protein shares the same inhibition mechanism as the target ACR.
|
| 126 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 127 |
|
| 128 |
#### Step 2b: Structural Similarity Thresholding (TM-score)
|
| 129 |
|
|
|
|
| 137 |
|
| 138 |
**Rationale:** TM-score thresholds of >0.7 indicate proteins with highly similar 3D structures, suggesting conserved functional mechanisms. All three metrics are required to ensure bidirectional structural conservation between query and target.
|
| 139 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 140 |
### Step 3: Reference Database Filtering
|
| 141 |
|
| 142 |
+
**Database:** `anti-CRISPRdb3(verified)`
|
| 143 |
- Total sequences: 1,192
|
| 144 |
- Source: anti-CRISPRdb v3.0 (excluding predicted entries)
|
| 145 |
|
| 146 |
+
**Criterion:** Candidate sequence must **NOT** be present in the reference database.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|