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

openvax / pyensembl
85%
master: 83%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Repo Added 05 Jan 2018 08:34PM UTC
Files 22
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

LAST BUILD ON BRANCH v2.9.6
branch: v2.9.6
CHANGE BRANCH
x
Reset
  • v2.9.6
  • add-GRCm39
  • add-fly
  • comparison-on-Locus
  • docs-drop-readme-line-anchors
  • docs-readme-source-links
  • docs-readme-text-fragment-anchors
  • ensembl-115-mouse-strains
  • feature-296-pyensembl-available
  • feature-pretty-pyensembl-available
  • feature/preserve-fasta-versions
  • fix-169-extended-protein-coding-flags
  • fix-176-coding-sequence-ranges-include-stop-codon
  • fix-177-biotype-kwarg
  • fix-186-locus-intersect
  • fix-190-merged-gene-intervals
  • fix-219-database-default-cache-dir
  • fix-242-version-and-versioned-id
  • fix-252-complete-tair
  • fix-260-locus-overlap-length
  • fix-280-distance-to-locus-ignore-strand
  • fix-283-nearest-gene-transcript
  • fix-286-protein-ids-at-locus
  • fix-298-ensembl-genomes-divisions
  • fix-335-part1-gencode-biotype-aliases
  • fix-335-part2-versioned-protein-fasta
  • fix-MT-normalization
  • fix-exon-id-missing
  • fix-hla-a-locus-tests
  • fix-pypi-autodeploy
  • fix-tsl-parentheses
  • fix/coveralls-parallel
  • fix/python314-argparse
  • fixing-travis
  • follow-up-334-soybean-xenopus-tighter-ranges
  • get-rid-of-ensembl-id-checking-too-many-exceptions
  • issue-287-ensembl-110
  • main
  • master
  • max-release-100
  • max-release-99
  • new-ensembl-versions-96-97
  • numpy2-support
  • only-create-dir-if-necessary
  • relax-serializable-ceiling
  • remove-assert-statements
  • remove-encrypted-values-for-external-contrib
  • remove-pandas-dependency
  • rename-version-fallback-helper
  • up-max-release
  • v2.10.0
  • v2.10.1
  • v2.3.11
  • v2.3.12
  • v2.3.13
  • v2.3.9
  • v2.6.10
  • v2.6.11
  • v2.6.12
  • v2.6.13
  • v2.6.4
  • v2.6.5
  • v2.6.6
  • v2.6.7
  • v2.6.8
  • v2.6.9
  • v2.7.0
  • v2.8.0
  • v2.9.0
  • v2.9.1
  • v2.9.2
  • v2.9.3
  • v2.9.4
  • v2.9.5
  • v2.9.7
  • v2.9.8
  • worktree-feature+update_setuptools

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

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

Relevant lines Covered
Build:
Build:
1883 RELEVANT LINES 1600 COVERED LINES
3.4 HITS PER LINE
Source Files on v2.9.6
  • Tree
  • List 22
  • Changed 5
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
25776025193 v2.9.6 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 pa... push 13 May 2026 03:19AM UTC web-flow github
84.97
See All Builds (274)
  • Repo on GitHub
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