• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openvax / pyensembl / 25776010820
85%
master: 83%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 13 May 2026 03:18AM UTC
Jobs 4
Files 22
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 May 2026 03:14AM UTC coverage: 84.971% (+0.06%) from 84.907%
25776010820

push

github

web-flow
Fix #335 (part 2): tolerate versioned IDs in protein/transcript FASTA lookups (#350)

GENCODE GTFs embed the assembly version directly in the protein_id and
transcript_id attributes (e.g. protein_id "ENSP00000123456.3"), while
pyensembl's FASTA parser strips ENS.N suffixes from headers. The literal
lookup with the versioned ID therefore missed, and Transcript.protein_sequence
returned None for GENCODE FASTAs even when the sequence was present.

Adds sequence_data.sequence_lookup_with_ens_fallback() which tries the
literal id first (handles both unversioned Ensembl GTFs and any future
FASTA that preserves versions) and falls back to the version-stripped
form for ENS.N identifiers.

Wires the helper into:
- Transcript.sequence (previously stripped unconditionally; now tries
  versioned first then strips)
- Transcript.protein_sequence (previously missing for GENCODE GTFs)
- Genome.transcript_sequence(transcript_id)
- Genome.protein_sequence(protein_id)

Bump version to 2.9.6.

16 of 18 new or added lines in 4 files covered. (88.89%)

1 existing line in 1 file now uncovered.

1600 of 1883 relevant lines covered (84.97%)

3.4 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
80.9
-0.11% pyensembl/sequence_data.py

Coverage Regressions

Lines Coverage ∆ File
1
90.04
-0.09% pyensembl/transcript.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.9 - 25776010820.1 13 May 2026 03:20AM UTC 22
84.97
GitHub Action Run
2 python-3.11 - 25776010820.2 13 May 2026 03:18AM UTC 22
84.97
GitHub Action Run
3 python-3.10 - 25776010820.3 13 May 2026 03:19AM UTC 22
84.97
GitHub Action Run
4 python-3.12 - 25776010820.4 13 May 2026 03:19AM UTC 22
84.97
GitHub Action Run
Source Files on build 25776010820
  • Tree
  • List 22
  • Changed 5
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25776010820
  • cb94345e on github
  • Prev Build on main (#25767995022)
  • Next Build on main (#25806119279)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc