Initial commit#1
Merged
Merged
Conversation
Updated README to enhance project description and clarify ANNOVAR requirements.
There was a problem hiding this comment.
Pull request overview
Initial import of the ContextScore codebase, including the prediction CLI, feature extraction/annotation pipeline, training script, packaging metadata, and a pytest-based test suite to validate key helpers and I/O.
Changes:
- Added
contextscore.predictCLI to score/filter SVs and emit per-variant prediction outputs. - Added
contextscore.extract_featuresto build feature matrices with bedtools + ANNOVAR/UCSC-based annotations. - Added packaging/CI/test scaffolding (setup.py/conda recipe/GitHub Actions/pytest tests + fixtures).
Reviewed changes
Copilot reviewed 18 out of 23 changed files in this pull request and generated 15 comments.
Show a summary per file
| File | Description |
|---|---|
tests/test_predict_io.py |
Adds end-to-end-ish tests around VCF reading and predict.score output generation. |
tests/test_predict_helpers.py |
Adds unit tests for model/ANNOVAR path resolution and optional plotting imports. |
tests/test_extract_features_helpers.py |
Adds unit tests for chromosome normalization and BED→ANNOVAR input conversion. |
tests/conftest.py |
Ensures repo root is importable during tests (sys.path injection). |
tests/fixtures/example.vcf |
Adds a placeholder VCF fixture referenced by tests. |
tests/fixtures/output.vcf.gz |
Adds a large gzipped VCF fixture used for I/O + scoring tests. |
tests/fixtures/output.vcf.gz.tbi |
Adds the tabix index for the gzipped VCF fixture. |
contextscore/predict.py |
Implements CLI and scoring/filtering pipeline including output artifacts. |
contextscore/extract_features.py |
Implements feature extraction + annotation integration (bedtools/ANNOVAR/UCSC). |
contextscore/train_full_model.py |
Adds a training/evaluation script for building models. |
contextscore/download_tables.py |
Adds a utility for downloading UCSC annotation tables via MySQL. |
contextscore/__main__.py |
Enables python -m contextscore execution. |
contextscore/__init__.py |
Initializes the package. |
contextscore/TrainingAnnotationsSummary.tsv |
Adds a TSV artifact related to training annotations. |
setup.py |
Adds setuptools packaging config and data file packaging attempt. |
MANIFEST.in |
Declares included files for source distributions. |
pytest.ini |
Configures pytest discovery. |
environment.yml |
Defines a conda environment for development/tests. |
conda/meta.yaml |
Adds a conda recipe for packaging/distribution. |
.github/workflows/unit-tests.yml |
Adds GitHub Actions workflow to run unit tests in a conda env. |
.gitignore |
Adds ignores for outputs, generated artifacts, and data directories. |
.vscode/settings.json |
Adds VS Code pytest configuration. |
README.md |
Adds installation + usage documentation and annotation source references. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Agent-Logs-Url: https://github.com/WGLab/ContextScore/sessions/9fe5e3cf-5118-49c5-b220-efe028ef0af2 Co-authored-by: jonperdomo <14855676+jonperdomo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/WGLab/ContextScore/sessions/a9571794-14b8-438c-8fca-e6888a3dd9a2 Co-authored-by: jonperdomo <14855676+jonperdomo@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Agent-Logs-Url: https://github.com/WGLab/ContextScore/sessions/3245ebf7-353e-4639-9e2a-9443e1743e09 Co-authored-by: jonperdomo <14855676+jonperdomo@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.