Skip to main content

intronIC_logo

intronIC (intron Interrogator and Classifier)

Classify intron sequences as U12-type (minor spliceosome) or U2-type (major spliceosome). A 126-model multispecies RBF SVM ensemble scores each intron against position-weight matrices and outputs a calibrated probability (0-100%).


Quick Start

pip install intronIC
# Classify introns (loads default model automatically)
intronIC -g genome.fa.gz -a annotation.gff3.gz -n species_name -p 8

# Extract sequences without classification
intronIC extract -g genome.fa.gz -a annotation.gff3.gz -n species_name -p 8

# Verify installation with bundled test data
intronIC test -p 4

What's New in v2.4

  • Default model is now the v3 multispecies bundle: 3 seeds × 42 calibrated SVMs (126 total) trained on 41,333 introns across 90 species and 14 clades. Holdout F1 = 1.000 vs the v2.3 default's 0.9975, and ~54% lower production-equivalent FPR on U12-absent species.
  • Default classification threshold lowered from 95 → 90, made safe by the v3 model's tighter calibration. Pass --threshold 95 to restore prior behavior.
  • --streaming (default) and --in-memory now produce bit-identical classifications. Mode choice affects only the runtime/memory tradeoff. Reference run on Homo sapiens GRCh38 + Ensembl 104, -p 6, ~227k scored introns: streaming ~16 min / 5.4 GB peak, in-memory ~15 min / 10.1 GB peak.
  • Self-describing model bundles carry config + training metadata alongside the weights; see docs/v3_bundle_schema.md.
  • v2.3 model bundles continue to load unchanged; old runs reproduce by passing --model <v2.3-bundle.pkl>.
  • See CHANGELOG.md for full release history.

What's New in v2.3

  • 42-model RBF SVM ensemble on a streamlined 6D feature set
  • Bayesian score adjustment suppresses false positives in species lacking a distinct U12-type intron population, using a species-level valley prior and per-intron ensemble agreement
  • Species-specific U2-type background correction for cross-species composition bias
  • Default threshold raised to 95% for higher-confidence calls (now lowered to 90 in v2.4)

Key Features

  • Probability scores (0-100%) from a 126-model calibrated SVM ensemble (3 seeds × 42 sub-models, isotonic calibration)
  • Pretrained model loaded automatically for cross-species analysis
  • Streaming mode (default) roughly halves peak memory on large genomes (e.g., ~5.4 GB vs ~10.1 GB for full human at -p 6); bit-identical classifications
  • Parallel scoring via -p N for linear speedup
  • Comprehensive metadata: phase, position, parent gene/transcript

How It Works

Most eukaryotic introns (~99.5%) are spliced by the major (U2-type) spliceosome; a small fraction (~0.5%) are spliced by the minor (U12-type) spliceosome. U12-type introns carry a conserved TCCTTAAC branch point motif and have either AT-AC (~25%) or GT-AG (~75%) terminal dinucleotides.

intronIC identifies U12-type introns in five stages:

  1. PWM scoring — score the 5' splice site, branch point, and 3' splice site against position-weight matrices
  2. Background correction — blend species-specific nucleotide frequencies into U2-type PWMs to correct composition bias
  3. Normalization — convert raw log-odds to z-scores via robust scaling
  4. SVM classification — 126-model RBF SVM ensemble (v2.4 default; 3 seeds × 42 sub-models) produces per-intron probabilities and ensemble agreement (sigma)
  5. Score adjustment — adjust probabilities using a species-level valley prior and an ensemble disagreement penalty

See Technical Details for the full algorithm description.


Documentation

Full documentation lives in the intronIC Wiki:


Citation

If you use intronIC in your research, please cite:

Moyer DC, Larue GE, Hershberger CE, Roy SW, Padgett RA. (2020) Comprehensive database and evolutionary dynamics of U12-type introns. Nucleic Acids Research 48(13):7066-7078. doi:10.1093/nar/gkaa464


Support


Contributing

See CONTRIBUTING.md for guidelines.

git clone https://github.com/glarue/intronIC.git
cd intronIC
make install    # Set up development environment
make test       # Run tests

License

GNU General Public License v3.0

Metadata

Release files for intronIC 2.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for intronIC 2.4.2
File Size Uploaded Provenance Actions
intronic-2.4.2.tar.gz 55.7 MB With provenance Details for intronic-2.4.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for intronIC 2.4.2
File Interpreter ABI Platform Actions
intronic-2.4.2-py3-none-any.whl Python 3 none any Details for intronic-2.4.2-py3-none-any.whl

Total release size: 111.2 MB

Release files / intronic-2.4.2.tar.gz

Download URL intronic-2.4.2.tar.gz
Size 55.7 MB
Tags Source
SHA-256 checksum
How to use checksums
96594b1b07ddc8dd51983291aca6b88428bf1ccb90c6ed740ed309ee493c80cd
BLAKE2b-256 checksum
How to use checksums
df9579e0dee8bed149a263954015f1b444419452185ff50c2995897bd567f9c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 10, 2026.

Transparency log

Release files / intronic-2.4.2-py3-none-any.whl

Download URL intronic-2.4.2-py3-none-any.whl
Size 55.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
b6f64acfa481d382d0207a086ca254bb55ea2c1af5eb9a1ea4c82829ad0a4d05
BLAKE2b-256 checksum
How to use checksums
862e31b3d2c8ca7ce09a872e9911595bf941c6137c9660dbf3ea21a98cc010db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 10, 2026.

Transparency log

Security for intronIC 2.4.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for intronic-2.4.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 10, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.4.2 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page