• 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.10.0
branch: v2.10.0
CHANGE BRANCH
x
Reset
  • v2.10.0
  • 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.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.6
  • v2.9.7
  • v2.9.8
  • worktree-feature+update_setuptools

13 May 2026 05:53PM UTC coverage: 85.426% (+0.5%) from 84.971%
25816710251

push

github

web-flow
Preserve FASTA-header versions in SequenceData (closes #351) (#355)

* Preserve FASTA-header versions in SequenceData (#351)

`_parse_header_id` no longer strips ENS .N version suffixes — the
versioned form is preserved as the canonical FASTA identifier, with
the version treated as authoritative source-of-truth for the
sequence's identity. Also added pipe-delimited (GENCODE) header
handling: the leading field before `|` is now the identifier rather
than the whole pipe-packed blob with everything-after-the-first-dot
silently dropped.

`SequenceData` now maintains:
  - `_fasta_dictionary` keyed on whichever form the header carried
    (versioned when available, bare otherwise)
  - `_stripped_index: bare_ens_id -> versioned_id`, so bare-ID
    lookups still resolve against a versioned FASTA (GENCODE case)
  - `_versions: id -> int`, exposed via the new `fasta_version(id)`
    accessor for downstream sanity-checking of FASTA / GTF alignment

`lookup_sequence_with_version_fallback` resolves both directions —
versioned caller against bare FASTA (existing Ensembl path) and
bare caller against versioned FASTA (new GENCODE path) — without
the runtime `.rsplit` on every miss the old helper did. Defensive
fallback for callers that hold a `SequenceData` without the new
attributes (e.g. unpickled old object).

Bumped the on-disk pickle filename to `<fasta>.v2.pickle` so stale
caches from the previous bare-key layout get ignored instead of
loaded.

Closes #351. Companion to gtfparse#67 (attribute_aliases +
cast_version_columns), which together close out the GENCODE
compatibility regression originally reported in #335.

* Address PR #355 review: drop pickle schema bump, surface fasta_version

* Reverted FASTA_PICKLE_SCHEMA_VERSION + the .v2.pickle filename suffix.
  v1 (bare-keyed) pickles load cleanly under the new code path - the
  rebuilt _stripped_index stays empty, but lookups still resolve via
  the version-stripped retry path so Ensembl-style callers see no
 ... (continued)

60 of 61 new or added lines in 5 files covered. (98.36%)

1653 of 1935 relevant lines covered (85.43%)

3.42 hits per line

Relevant lines Covered
Build:
Build:
1935 RELEVANT LINES 1653 COVERED LINES
3.42 HITS PER LINE
Source Files on v2.10.0
  • Tree
  • List 22
  • Changed 6
  • Source Changed 6
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
25816710251 v2.10.0 Preserve FASTA-header versions in SequenceData (closes #351) (#355) * Preserve FASTA-header versions in SequenceData (#351) `_parse_header_id` no longer strips ENS .N version suffixes — the versioned form is preserved as the canonical FASTA iden... push 13 May 2026 05:58PM UTC web-flow github
85.43
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