Skip to content

Commit

Permalink
upload PM3-bench
Browse files Browse the repository at this point in the history
  • Loading branch information
Li Shumin committed Oct 20, 2024
1 parent 327fce8 commit 1db702b
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 1 deletion.
1 change: 1 addition & 0 deletions PM3-Bench/PM3_Bench_data.json

Large diffs are not rendered by default.

24 changes: 24 additions & 0 deletions PM3-Bench/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# PM3-Bench

## Introduction
The [ClinGen Evidence Repository](https://erepo.clinicalgenome.org/evrepo/) provides expert-curated assertions, they are written in plain English, posing a difficult challenge for automated evaluation of benchmarks. To address this, we created PM3-Bench, a comprehensive dataset for PM3 literature evidence extraction, based on the ClinGen Evidence Repository

![](../images/PM3-bench.png)

---

## Description
We provide the `PM3-Bench.json` in this repo, which includes the following fields:
| Column Name | Description |
|---| --- |
| ClinGen ID | The original ID in the ClinGen Evidence Repository |
| Variant Name | The HGVS name of the variant (DNA change) |
| Condition | The condition reported in ClinGen |
| Criterion | The met ACMG criteria |
| Raw Comment |The expert-submitted comment |
| PMID | The PubMed ID of the literature evidence |
| Number of Patients | Extracted number of patients based on the comments |
| In trans Variants | List of in trans variants extracted from the comments, augmented in all possible formats, separated by space. "NA" means no in trans variant was mentioned in the raw comments |
| labels | `eval`: variant-publication pairs for evaluations; `others`: truncated publication XML file in NCBI API, removed in evaluation; `fine-tune`: remaining samples, where non-empty comments used for fine-tuning|


5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ We introduce AutoPM3, a method for automating the extraction of ACMG/AMP PM3 evi
- [Usage](#usage)
- [Quick Start](#quick-start)
- [Advanced Usage](#advanced-usage-of-the-python-script)
- [PM3-Bench](#pm3-bench)
- [TODO](#todo)
---

Expand All @@ -47,7 +48,6 @@ mkdir ollama_models
export OLLAMA_MODELS=./ollama_models
```

3. Launch Ollama server:

```bash

Expand Down Expand Up @@ -108,5 +108,8 @@ python AutoPM3_main.py
--model_name_text llama3_loraFT-8b-f16 ## change to llama3:70b or other hosted models as the backend of RAG as you prefer, noted that you need pull the model in Ollama in advance.
```

## PM3-Bench
* We released PM3-Bench used in this study, details listed in [PM3-Bench tutorial](PM3-Bench/README.md)

## TODO
* A fast set up for AutoPM3.
Binary file added images/PM3-bench.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1db702b

Please sign in to comment.