Skip to main content

Automated feature engineering and selection pipeline for protein and DNA sequences

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

seqengine-1.0.1.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

seqengine-1.0.1-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file seqengine-1.0.1.tar.gz.

File metadata

  • Download URL: seqengine-1.0.1.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for seqengine-1.0.1.tar.gz
Algorithm Hash digest
SHA256 f33d0382a6e9f6e5f3a222ae74ccc9b425e353b6fbec7abfa893428e77df1a1f
MD5 f59e000dbbb43c08b1ce5f15f16fbded
BLAKE2b-256 49ebdfc86d7d0f1e267748427ae749ab7a1eed1be1c96f0db406744ea000e361

See more details on using hashes here.

File details

Details for the file seqengine-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: seqengine-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for seqengine-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0e56ec8ff60fd07904861013bbf2d4f0e4bfb2c42cfabde1f3849e2d86af4815
MD5 674f08a52557660bfaa3a3356b545a6e
BLAKE2b-256 f01c0469ad7b0795dc0662806c39ce6c6e2bccdd209f8720df94035dc94c74e4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page