Skip to content

Smoothing out rough edges#35

Merged
DSuveges merged 4 commits intomasterfrom
ds_minor_fixes
Feb 10, 2026
Merged

Smoothing out rough edges#35
DSuveges merged 4 commits intomasterfrom
ds_minor_fixes

Conversation

@DSuveges
Copy link
Copy Markdown
Owner

Context

There was a large-scale update of the repository with help of agentic tool Calude. This left a handful of small issues. At this point the code runs. This can be considered as as baseline for further more meaningful updates.

Contents

  • Updated and more relevant README.md file.
  • Issues in data preparation fixed.
  • Issues with plotting fixed.
  • Updated GWAS source
  • GENCODE ingestion code slightly refactored.

Warnings

Dynamic libraries are hard-coded in packages that are relying on cairo. This must be a temporary update. Should be refactored later.

os.environ["DYLD_FALLBACK_LIBRARY_PATH"] = "/opt/homebrew/lib"

DSuveges and others added 4 commits February 9, 2026 19:21
Break the monolithic process_gencode_data into 6 independently testable
static methods (parse_raw_gtf, parse_gtf_annotations, strip_gene_id_version,
filter_protein_coding_genes, add_length_column, process_single_gene) and
fix the chromosome filter to handle the 'chr' prefix in standard GTF files.

Add unit tests for each extracted method plus integration tests using a
sample GENCODE GTF (OPRK1 / ENSG00000082556). Move config.json to repo root.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@codecov-commenter
Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 93.85965% with 14 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.73%. Comparing base (0974e3e) to head (221c12b).

Files with missing lines Patch % Lines
src/genome_plotter/input_parsers/fetch_gencode.py 73.46% 13 Missing ⚠️
src/tests/test_fetch_gencode.py 99.44% 1 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #35      +/-   ##
==========================================
- Coverage   88.79%   82.73%   -6.06%     
==========================================
  Files           6       10       +4     
  Lines         348      695     +347     
==========================================
+ Hits          309      575     +266     
- Misses         39      120      +81     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@DSuveges DSuveges merged commit f5a5c83 into master Feb 10, 2026
3 checks passed
@DSuveges DSuveges deleted the ds_minor_fixes branch February 10, 2026 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants