Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

varcode

Latest version: v12.4.0

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
PyPI package Publisher: hammerlab, iskander, openvax, tavinathanson, timodonnell
88 Stars
28 Forks
94 Versions
29.1K Downloads
Python Repo language

Scan summary

varcode was last scanned on 26 Nov 2026 at version 12.4.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 94 versions; the latest 5 were published within 2 days (25 and 26 Nov 2026).
  • Findings: No rules fired in version 12.4.0.
  • Downloads: 29,088 downloads.

Versions

94 versions published
Versions and the rules that fired in each
VersionPublishedStatus
12.4.0 LATEST 26 Nov 2026 No rules fired
12.3.1 26 Nov 2026 No rules fired
12.3.0 25 Nov 2026 No rules fired
12.2.4 25 Nov 2026 Not shown
12.2.3 25 Nov 2026 Not shown

No rules fired in 12.4.0

Findings

Findings for v12.4.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 12.4.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Tests PyPI PyPI downloads Docs

Varcode

Varcode is a Python library that predicts what genomic variants do to genes, transcripts, and proteins. Load a VCF or MAF file, and for each variant on each overlapping transcript, Varcode reports the predicted consequence (for example a substitution such as p.L159M, a frameshift, or a gene fusion). Where the sequence can be determined, it also gives the mutant protein.

In the OpenVax tools, Varcode reads gene annotations through PyEnsembl. Isovar reconstructs variant sequences from RNA reads, and Topiary and Vaxrank use Varcode's predicted proteins to choose and rank candidate peptides; see how the libraries fit together.

Install

Requires Python 3.11 or later:

pip install varcode
pyensembl install --release 81 --species human

The second command downloads the gene annotation and transcript sequences used in the example below (Ensembl 81, GRCh38). For your own data, choose an annotation that matches your input's genome build; see reference setup.

Varcode installs ORFdata, which supplies the ORFs for noncanonical ORF consequences. RNA-seq read and assembly phasing lives in Isovar and integrates with Varcode via MolecularPhaseResolver; see RNA evidence.

Quick start

Predict the effect of a single GRCh38 variant on a CFTR transcript:

from varcode import Variant

variant = Variant("7", 117_531_100, "T", "A", genome=81)
transcript = variant.genome.transcript_by_id("ENST00000003084")
effect = variant.effect_on_transcript(transcript)

print(effect.gene.name, effect.short_description)
protein = effect.mutant_protein_sequence
print(protein[158])  # Python offsets start at zero
CFTR p.L159M
M

Annotate every variant in a VCF called against the same genome build, and print the most severe effect for each:

from varcode import load_vcf

variants = load_vcf("variants.vcf", genome=81)
effects = variants.effects()
for variant, effect in effects.top_priority_effect_per_variant().items():
    print(variant.short_description, effect.short_description)

For a VCF containing only the variant above, this prints:

chr7 g.117531100T>A p.L159M

Before relying on the output, read how to read results. In short: each prediction belongs to one transcript; "top priority" means most severe, not most likely; None means unknown, not unchanged; and a predicted protein is not evidence that it is expressed.

Command line

The varcode command annotates variant files without writing Python and saves one row per variant and transcript:

varcode effects --genome GRCh38 --vcf variants.vcf --output-csv effects.csv

varcode genes lists the genes each variant overlaps. varcode --help lists the subcommands. See the command-line guide.

For shell tab completion across every OpenVax command-line tool, run activate-global-python-argcomplete once, or enable just varcode in your shell profile with eval "$(register-python-argcomplete varcode)".

Documentation

Full documentation: openvax.github.io/varcode.

Development

./develop.sh   # editable install into the active environment
./lint.sh      # Ruff and mypy
./test.sh      # pytest; needs the Ensembl releases listed in CONTRIBUTING.md
mkdocs build --strict

See CONTRIBUTING.md for the development environment and reference data, and the changelog for release history. For bugs or questions, open an issue.

License

Varcode is released under the Apache 2.0 license.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases varcode

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Frame 2085668439 (1)
Group 1261154229