Skip to main content

SeqEngine: Automated Feature Engineering & Selection for Protein and DNA Sequences

PyPI version Python 3.7+ License: MIT

SeqEngine is a fully automated, end‑to‑end pipeline for feature extraction and feature selection from biological sequences (protein and DNA). It extracts a comprehensive set of 610 features for proteins and 400 features for DNA, implements seven feature selection methods (univariate filters, wrapper, and embedded), and outputs multiple curated feature subsets along with a detailed text report containing sequence statistics, feature rankings, and performance metrics. Designed for researchers who need a reproducible, interpretable, and efficient tool to pre‑process sequence data for machine learning.


📊 Pipeline Overview

The figure below shows the complete workflow of SeqEngine:

SeqEngine Workflow


✨ Key Features

  • Comprehensive Feature Extraction:
    • Protein: 610 features including AAC, dipeptide, PAAC, CTD, Moran autocorrelation, BLOSUM62, and physicochemical properties.
    • DNA: 400 features including NAC, DNC, TNC, k‑mer (k=4), PseDNC, Moran autocorrelation, and ENAC.
  • Multiple Feature Selection Strategies:
    • Univariate Filters: f_classif, mutual_info, chi2
    • Wrapper: Recursive Feature Elimination (RFE) with Random Forest
    • Embedded: Random Forest importance, Lasso (L1), Gradient Boosting importance
  • Human‑Readable Output: Feature names like AAC_Alanine, CTD_Comp_Hydrophobicity_G1, Kmer_AAAA—no more cryptic F1, F2.
  • Batch Processing with tqdm progress bars for large datasets.
  • Parallel Execution using multiple CPU cores.
  • Comprehensive Report: Sequence statistics, feature statistics, method‑by‑method performance (accuracy, precision, recall, F1, MCC), top‑20 ranked features, and execution times.
  • Multiple Output Formats: Consolidated feature CSV, per‑method selected feature CSVs, aggregate ranking summary, and a full text report.

📦 Installation

pip install seqengine

Metadata

Release files for seqengine 1.0.1

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

Source distribution (sdist)

Source distribution for seqengine 1.0.1
File Size Uploaded
seqengine-1.0.1.tar.gz 12.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for seqengine 1.0.1
File Interpreter ABI Platform
seqengine-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 24.4 kB

Release files / seqengine-1.0.1.tar.gz

Download URL seqengine-1.0.1.tar.gz
Size 12.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f33d0382a6e9f6e5f3a222ae74ccc9b425e353b6fbec7abfa893428e77df1a1f
BLAKE2b-256 checksum
How to use checksums
49ebdfc86d7d0f1e267748427ae749ab7a1eed1be1c96f0db406744ea000e361
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / seqengine-1.0.1-py3-none-any.whl

Download URL seqengine-1.0.1-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0e56ec8ff60fd07904861013bbf2d4f0e4bfb2c42cfabde1f3849e2d86af4815
BLAKE2b-256 checksum
How to use checksums
f01c0469ad7b0795dc0662806c39ce6c6e2bccdd209f8720df94035dc94c74e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

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