Update README.md
Browse files
README.md
CHANGED
|
@@ -1,82 +0,0 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: cc-by-4.0
|
| 3 |
-
configs:
|
| 4 |
-
- config_name: "cullpdb_pc95.0_res0.0-5.0_noBrks_len40-10000_R1.0_Xray+Nmr+EM_d2026_01_26_chains62732"
|
| 5 |
-
data_files: "curated_csv/subsets/cullpdb_pc95.0_res0.0-5.0_noBrks_len40-10000_R1.0_Xray+Nmr+EM_d2026_01_26_chains62732.csv"
|
| 6 |
-
---
|
| 7 |
-
# PISCES-CulledPDB
|
| 8 |
-
|
| 9 |
-
Curated protein chain tables from PISCES/CullPDB: one row per chain with sequence and metadata.
|
| 10 |
-
|
| 11 |
-
**Dataset:** [PRMegathon26/PISCES-CulledPDB](https://huggingface.co/datasets/PRMegathon26/PISCES-CulledPDB)
|
| 12 |
-
|
| 13 |
-
Use the **subset dropdown** in the viewer to switch between the main table and 242 curation subsets.
|
| 14 |
-
|
| 15 |
-
## Summary
|
| 16 |
-
|
| 17 |
-
| Item | Description |
|
| 18 |
-
|------|-------------|
|
| 19 |
-
| **Main CSV** | `curated_csv/cullpdb_compiled.csv` — 4,540,884 chains |
|
| 20 |
-
| **Subsets** | `curated_csv/subsets/*.csv` — 242 files (same columns) |
|
| 21 |
-
| **Index** | `curated_csv/cullpdb_list_fasta_index.csv` — 242 rows |
|
| 22 |
-
|
| 23 |
-
Full list of subset paths: `curated_csv/dataset_metadata.json` (keys `data_paths`, `subset_paths`).
|
| 24 |
-
|
| 25 |
-
## Columns (chain CSVs)
|
| 26 |
-
|
| 27 |
-
| Column | Description |
|
| 28 |
-
|--------|-------------|
|
| 29 |
-
| **pdb_chain** | PDB chain ID (e.g. 1ABC_A) |
|
| 30 |
-
| **pdb** | PDB ID (first 4 chars) |
|
| 31 |
-
| **chain** | Chain ID |
|
| 32 |
-
| **sequence** | Amino acid sequence (one-letter) |
|
| 33 |
-
| **len** | Sequence length |
|
| 34 |
-
| **method** | Experimental method (e.g. XRAY, NMR) |
|
| 35 |
-
| **resolution** | Resolution in Å (per structure) |
|
| 36 |
-
| **rfac** | R-factor |
|
| 37 |
-
| **freerfac** | Free R-factor |
|
| 38 |
-
| **pc** | Sequence identity cutoff % used for this subset |
|
| 39 |
-
| **no_breaks** | Whether chain has no breaks (yes/no) |
|
| 40 |
-
| **R** | R-factor cutoff used for this subset |
|
| 41 |
-
| **source_list** | Subset list basename (identifies curation parameters) |
|
| 42 |
-
|
| 43 |
-
## Index CSV columns
|
| 44 |
-
|
| 45 |
-
| Column | Description |
|
| 46 |
-
|--------|-------------|
|
| 47 |
-
| **list_basename** | Subset list basename |
|
| 48 |
-
| **fasta_basename** | Corresponding FASTA basename |
|
| 49 |
-
| **list_path** | Full path to list file |
|
| 50 |
-
| **fasta_path** | Full path to FASTA file |
|
| 51 |
-
| **n_chains** | Number of chains in this subset |
|
| 52 |
-
| **pc** | Sequence identity cutoff % |
|
| 53 |
-
| **resolution** | Resolution range (e.g. 0.0-2.0) |
|
| 54 |
-
| **no_breaks** | yes/no |
|
| 55 |
-
| **R** | R-factor cutoff |
|
| 56 |
-
| **Nmethods** | Experiment types (e.g. Xray, Xray+EM) |
|
| 57 |
-
|
| 58 |
-
## Usage
|
| 59 |
-
|
| 60 |
-
### Python
|
| 61 |
-
|
| 62 |
-
```python
|
| 63 |
-
from huggingface_hub import hf_hub_download
|
| 64 |
-
import pandas as pd
|
| 65 |
-
|
| 66 |
-
path = hf_hub_download(repo_id="PRMegathon26/PISCES-CulledPDB", filename="curated_csv/cullpdb_compiled.csv", repo_type="dataset")
|
| 67 |
-
df = pd.read_csv(path)
|
| 68 |
-
```
|
| 69 |
-
|
| 70 |
-
### Filter (filter_chains_csv.py)
|
| 71 |
-
|
| 72 |
-
From repo root after clone/download:
|
| 73 |
-
|
| 74 |
-
```bash
|
| 75 |
-
python src/filter_chains_csv.py --input curated_csv/cullpdb_compiled.csv --output my_filtered.csv --pc 20 --resolution-max 2.0 --no-breaks yes --R 0.25
|
| 76 |
-
```
|
| 77 |
-
|
| 78 |
-
Options: `--pc`, `--pc-min`, `--pc-max`, `--resolution-min`, `--resolution-max`, `--no-breaks`, `--R`, `--method`, `--len-min`, `--len-max`.
|
| 79 |
-
|
| 80 |
-
## License
|
| 81 |
-
|
| 82 |
-
cc-by-4.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|