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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# CGBench Dataset
|
| 2 |
+
|
| 3 |
+
This repository contains the CGBench dataset - a comprehensive benchmarking framework for evaluating scientific reasoning in language models using ClinGen (clinicalgenome.org) data. The dataset enables evaluation of language models' ability to extract, interpret, and explain fine-grained results from scientific publications in clinical genetics.
|
| 4 |
+
|
| 5 |
+
## Dataset Overview
|
| 6 |
+
|
| 7 |
+
CGBench formulates three separate tasks:
|
| 8 |
+
1. **GCI Evidence Extraction** - Gene-disease association evidence extraction
|
| 9 |
+
2. **VCI Evidence Scoring** - Variant pathogenicity evidence scoring
|
| 10 |
+
3. **VCI Evidence Sufficiency** - Evidence sufficiency determination
|
| 11 |
+
|
| 12 |
+
## Directory Structure
|
| 13 |
+
|
| 14 |
+
### GCI/ - Gene Curation Interface Data
|
| 15 |
+
|
| 16 |
+
Contains data related to gene-disease association evidence extraction tasks.
|
| 17 |
+
|
| 18 |
+
#### Core Files
|
| 19 |
+
|
| 20 |
+
**`Clingen-Gene-Disease-Summary-2025-03-31.csv`**
|
| 21 |
+
- Summary of all ClinGen gene-disease validity classifications
|
| 22 |
+
- **Columns:**
|
| 23 |
+
- `GENE SYMBOL`: HGNC gene symbol
|
| 24 |
+
- `GENE ID (HGNC)`: HGNC gene identifier
|
| 25 |
+
- `DISEASE LABEL`: Human-readable disease name
|
| 26 |
+
- `DISEASE ID (MONDO)`: MONDO ontology disease identifier
|
| 27 |
+
- `MOI`: Mode of inheritance (AD=Autosomal Dominant, AR=Autosomal Recessive, XL=X-linked)
|
| 28 |
+
- `SOP`: Standard Operating Procedure version used for curation
|
| 29 |
+
- `CLASSIFICATION`: Gene-disease association strength (Definitive, Strong, Moderate, Limited)
|
| 30 |
+
- `ONLINE REPORT`: URL to full ClinGen report
|
| 31 |
+
- `CLASSIFICATION DATE`: Date of classification
|
| 32 |
+
- `GCEP`: Gene Curation Expert Panel responsible for classification
|
| 33 |
+
|
| 34 |
+
#### SOP/ - Standard Operating Procedures
|
| 35 |
+
|
| 36 |
+
**`experimental_evidence/`**
|
| 37 |
+
Contains JSON files defining evidence categories and scoring criteria:
|
| 38 |
+
- `SOP5.json` through `SOP11.json`: Different versions of standard operating procedures
|
| 39 |
+
- Each file contains structured evidence categories with titles and descriptions for:
|
| 40 |
+
- Biochemical Function (A & B)
|
| 41 |
+
- Protein Interaction
|
| 42 |
+
- Expression (A & B)
|
| 43 |
+
- Functional Alteration
|
| 44 |
+
- Model Systems
|
| 45 |
+
- Rescue experiments
|
| 46 |
+
|
| 47 |
+
#### evidence_tables/
|
| 48 |
+
|
| 49 |
+
**`experimental_evidence/evidence_cleaned_fulltext.csv`**
|
| 50 |
+
- Complete dataset of experimental evidence with full-text paper content
|
| 51 |
+
- **Columns:**
|
| 52 |
+
- `Label`: Evidence description/title
|
| 53 |
+
- `Experimental Category`: Type of evidence (e.g., "Model Systems Non-human model organism")
|
| 54 |
+
- `Reference`: Citation with PMID
|
| 55 |
+
- `Explanation`: Detailed explanation of the evidence
|
| 56 |
+
- `Score Status`: Whether evidence was scored
|
| 57 |
+
- `Points (default points)`: Numerical score assigned
|
| 58 |
+
- `Reason for Changed Score`: Explanation if score was modified
|
| 59 |
+
- `url`: Link to ClinGen assertion
|
| 60 |
+
- `primary_index`: Internal identifier
|
| 61 |
+
- `pmid`: PubMed identifier
|
| 62 |
+
|
| 63 |
+
**Train/Test Splits:**
|
| 64 |
+
- `train.csv`, `test.csv`: Standard splits for model training/evaluation
|
| 65 |
+
- `train_datesplit.csv`, `test_datesplit.csv`: Date-based splits to avoid data leakage
|
| 66 |
+
|
| 67 |
+
#### pubmed/
|
| 68 |
+
|
| 69 |
+
**`experimental_evidence.csv`**
|
| 70 |
+
- PubMed abstracts associated with evidence entries
|
| 71 |
+
- Links evidence to published literature
|
| 72 |
+
|
| 73 |
+
### VCI/ - Variant Curation Interface Data
|
| 74 |
+
|
| 75 |
+
Contains data for variant pathogenicity assessment tasks.
|
| 76 |
+
|
| 77 |
+
#### Core Files
|
| 78 |
+
|
| 79 |
+
**`clingen_vci_pubmed_fulltext.csv`**
|
| 80 |
+
- Complete VCI dataset with full-text papers
|
| 81 |
+
- **Columns:**
|
| 82 |
+
- `entry_index`: Unique identifier
|
| 83 |
+
- `variant`: HGVS variant notation
|
| 84 |
+
- `hgnc_gene`: Gene symbol
|
| 85 |
+
- `disease`: Associated disease
|
| 86 |
+
- `mondo_id`: MONDO disease identifier
|
| 87 |
+
- `assertion`: Pathogenicity classification (Pathogenic, Likely Pathogenic, Uncertain Significance, etc.)
|
| 88 |
+
- `mode_inheritance`: Inheritance pattern
|
| 89 |
+
- `expert_panel`: Responsible VCEP (Variant Curation Expert Panel)
|
| 90 |
+
- `pub_date`: Publication date
|
| 91 |
+
- `evidence_code`: ACMG/AMP evidence code applied
|
| 92 |
+
- `met_status`: Whether evidence criteria was met
|
| 93 |
+
- `pmid`: Associated PubMed ID
|
| 94 |
+
- `comments`: Curator comments
|
| 95 |
+
- `summary`: Evidence summary
|
| 96 |
+
- `summary_comments`: Additional summary information
|
| 97 |
+
|
| 98 |
+
**Data Variants:**
|
| 99 |
+
- `clingen_vci_pubmed_fulltext_dedup_pmid.csv`: Deduplicated by PMID
|
| 100 |
+
- `clingen_vci_pubmed_fulltext_vceps.csv`: VCEP-specific subset
|
| 101 |
+
- `clingen_vci_pubmed_var_na_filtered.csv`: Filtered for missing variants
|
| 102 |
+
|
| 103 |
+
**`erepo.tabbed_2025-02-25.txt`**
|
| 104 |
+
- Raw ClinGen Evidence Repository export
|
| 105 |
+
- Tab-delimited format with comprehensive variant classification data
|
| 106 |
+
- **Key Columns:**
|
| 107 |
+
- `#Variation`: Variant identifier
|
| 108 |
+
- `ClinVar Variation Id`: ClinVar identifier
|
| 109 |
+
- `HGVS Expressions`: All HGVS representations
|
| 110 |
+
- `Applied Evidence Codes (Met/Not Met)`: ACMG/AMP criteria
|
| 111 |
+
- `Summary of interpretation`: Detailed reasoning
|
| 112 |
+
- `Expert Panel`: Responsible VCEP
|
| 113 |
+
|
| 114 |
+
**`pubmed_id_to_text.csv`**
|
| 115 |
+
- Maps PubMed IDs to full-text content
|
| 116 |
+
- **Columns:**
|
| 117 |
+
- `pmid`: PubMed identifier
|
| 118 |
+
- `abstract`: Paper abstract
|
| 119 |
+
- `full_text`: Complete paper text when available
|
| 120 |
+
|
| 121 |
+
#### Task-Specific Splits
|
| 122 |
+
|
| 123 |
+
**`split_evidence_score/`**
|
| 124 |
+
Evidence scoring task data:
|
| 125 |
+
- `train.csv`, `test.csv`: Basic train/test splits
|
| 126 |
+
- `train_merged.csv`, `test_merged.csv`: Merged with additional metadata
|
| 127 |
+
- Additional `path` column indicates source VCEP specification file
|
| 128 |
+
|
| 129 |
+
**`split_evidence_sufficiency/`**
|
| 130 |
+
Evidence sufficiency determination task:
|
| 131 |
+
- `train.csv`, `test.csv`: Basic splits
|
| 132 |
+
- `train_dedup.csv`, `test_dedup.csv`: Deduplicated versions
|
| 133 |
+
- `test_dedup_missing.csv`: Test set with missing data scenarios
|
| 134 |
+
|
| 135 |
+
#### parsing_csr_criteria/
|
| 136 |
+
|
| 137 |
+
Contains tools and data for parsing Criteria Specification Registry (CSR) documents:
|
| 138 |
+
|
| 139 |
+
- **`cspec_version_guide.csv`**: Maps VCEP specifications to versions
|
| 140 |
+
- **`cspec_version_guide_processed.csv`**: Processed version mappings
|
| 141 |
+
- **`version_csv_individual/`**: Individual CSV files for each VCEP specification version
|
| 142 |
+
- Format: `{VCEPName}_version={X.Y.Z}.csv`
|
| 143 |
+
- Contains parsed criteria specifications for each expert panel
|
| 144 |
+
|
| 145 |
+
**Python Scripts:**
|
| 146 |
+
- `get_versions.py`: Extract version information
|
| 147 |
+
- `parse_on_date.py`: Parse specifications by date
|
| 148 |
+
- `scrape_criteria.py`: Scrape criteria from registry
|
| 149 |
+
- `scrape_criteria_fn.py`, `scrape_criteria_versions.py`: Helper functions
|
| 150 |
+
|
| 151 |
+
## Data Usage Notes
|
| 152 |
+
|
| 153 |
+
### Evidence Codes
|
| 154 |
+
The dataset uses ACMG/AMP variant interpretation guidelines with evidence codes like:
|
| 155 |
+
- **PVS1**: Very strong pathogenic evidence
|
| 156 |
+
- **PS1-4**: Strong pathogenic evidence
|
| 157 |
+
- **PM1-6**: Moderate pathogenic evidence
|
| 158 |
+
- **PP1-5**: Supporting pathogenic evidence
|
| 159 |
+
- **BA1**: Stand-alone benign
|
| 160 |
+
- **BS1-4**: Strong benign evidence
|
| 161 |
+
- **BP1-7**: Supporting benign evidence
|
| 162 |
+
|
| 163 |
+
### Expert Panels (VCEPs)
|
| 164 |
+
Various disease-specific Variant Curation Expert Panels contribute data:
|
| 165 |
+
- Phenylketonuria VCEP (PAH gene)
|
| 166 |
+
- Cardiomyopathy VCEP
|
| 167 |
+
- BRCA1/BRCA2 VCEP (ENIGMA)
|
| 168 |
+
- And many others
|
| 169 |
+
|
| 170 |
+
### Data Splits
|
| 171 |
+
- **Standard splits**: Random train/test division
|
| 172 |
+
- **Date splits**: Temporal division to prevent data leakage
|
| 173 |
+
- **Deduplicated versions**: Remove duplicate entries by PMID or other criteria
|
| 174 |
+
|
| 175 |
+
## File Formats
|
| 176 |
+
|
| 177 |
+
- **CSV**: Comma-separated values for tabular data
|
| 178 |
+
- **JSON**: Structured data for evidence category definitions
|
| 179 |
+
- **TXT**: Tab-delimited raw exports from ClinGen systems
|
| 180 |
+
|
| 181 |
+
## Citation
|
| 182 |
+
|
| 183 |
+
If you use this dataset, please cite the CGBench paper (publication details forthcoming).
|
| 184 |
+
|
| 185 |
+
## License
|
| 186 |
+
|
| 187 |
+
MIT License - see main repository for details.
|
| 188 |
+
|