GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - HareemAhmad-Molbio/Protein-Sequence-Toolkit: Research-oriented bioinformatics toolkit for protein sequence analysis using Python.

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
docs
docs
 
 
output
output
 
 
sample_data
sample_data
 
 
screenshots
screenshots
 
 
tests
tests
 
 
.DS_Store
.DS_Store
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
calculations.py
calculations.py
 
 
constants.py
constants.py
 
 
formatter.py
formatter.py
 
 
io_utils.py
io_utils.py
 
 
protein.py
protein.py
 
 
protein_toolkit.py
protein_toolkit.py
 
 
requirements.txt
requirements.txt
 
 
utils.py
utils.py
 
 
visualization.py
visualization.py
 
 

Repository files navigation

Protein Sequence Toolkit Banner

🧬 Protein Sequence Toolkit

Research-Oriented Bioinformatics Software for Protein Sequence Analysis

Python License Version Status


Overview

Protein sequence analysis is one of the first computational steps performed before many experimental workflows in molecular biology, biochemistry, and structural biology.

Researchers routinely analyze amino acid composition, molecular weight, and residue characteristics before protein expression, purification, structural characterization, and functional studies.

The Protein Sequence Toolkit is a research-oriented Python application that performs fundamental protein sequence analyses while demonstrating clean software engineering principles for scientific computing.

Rather than replacing established bioinformatics platforms such as ExPASy ProtParam, this project focuses on transparency, reproducibility, education, and modular software design.


Why I Built This Project

During my MSc in Molecular Biology & Biochemistry, I worked on recombinant protein expression and purification in Escherichia coli.

That experience highlighted how computational protein analysis complements experimental molecular biology by allowing researchers to understand important biochemical properties before laboratory experiments.

I developed this toolkit to strengthen my computational biology skills while applying software engineering principles to biological data analysis.

This repository combines my background in molecular biology with practical Python programming to build research-oriented bioinformatics software.


Features

Current Version (v1.0) includes:

  • āœ… Protein sequence validation
  • āœ… FASTA file parsing
  • āœ… Direct sequence input
  • āœ… Protein length calculation
  • āœ… Amino acid composition analysis
  • āœ… Amino acid percentage calculation
  • āœ… Residue class distribution
  • āœ… Molecular weight calculation
  • āœ… Publication-quality amino acid composition visualization
  • āœ… Publication-quality residue class visualization
  • āœ… Integrated Protein Analysis Dashboard
  • āœ… Automated unit testing (12 tests)
  • āœ… Comprehensive project documentation
  • āœ… Software workflow architecture diagram

Protein Analysis Dashboard

The Protein Analysis Dashboard provides a consolidated overview of the analyzed protein, including:

  • Protein length
  • Molecular weight
  • Hydrophobic residue percentage
  • Most abundant residue
  • Least abundant residue
  • Amino acid composition profile
  • Residue class composition

Scientific Visualizations

Amino Acid Composition

This visualization displays the abundance of each amino acid within the protein sequence using color-coded residue classes.


Residue Class Composition

Residues are grouped into biologically meaningful categories:

  • Hydrophobic
  • Polar
  • Positively Charged
  • Negatively Charged

This provides a rapid overview of the biochemical characteristics of the protein.


Installation

Clone the repository

git clone https://github.com/HareemAhmad-Molbio/Protein-Sequence-Toolkit.git

Navigate to the project directory

cd Protein-Sequence-Toolkit

Create a virtual environment

python -m venv venv

Activate the environment

macOS/Linux

source venv/bin/activate

Windows

venv\Scripts\activate

Install dependencies

pip install -r requirements.txt

Example Output

Protein Sequence Toolkit
=================================================

Sequence
-------------------------------------------------

MKWVTFISLLFLFSSAYSRGVFRRDTHKSEIAHRF...

Length
-------------------------------------------------

104 amino acids

Molecular Weight
-------------------------------------------------

11875.60 Da

Residue Class Distribution
-------------------------------------------------

Hydrophobic     49 (47.12%)
Polar           25 (24.04%)
Positive        17 (16.35%)
Negative        13 (12.50%)

Usage

Analyze a FASTA file

python protein_toolkit.py sample_data/albumin.fasta

Analyze a protein sequence directly

python protein_toolkit.py MKWVTFISLLFLFSSAYSRGVFRRDTHKSEIAHRF

Generated figures are automatically saved inside the output/ directory.


Repository Structure

Protein-Sequence-Toolkit/
│
ā”œā”€ā”€ .github/
│   └── workflows/
│       └── tests.yml
│
ā”œā”€ā”€ docs/
ā”œā”€ā”€ output/
ā”œā”€ā”€ sample_data/
ā”œā”€ā”€ screenshots/
ā”œā”€ā”€ tests/
│
ā”œā”€ā”€ README.md
ā”œā”€ā”€ LICENSE
ā”œā”€ā”€ requirements.txt
ā”œā”€ā”€ .gitignore
│
ā”œā”€ā”€ protein_toolkit.py
ā”œā”€ā”€ protein.py
ā”œā”€ā”€ calculations.py
ā”œā”€ā”€ constants.py
ā”œā”€ā”€ io_utils.py
└── visualization.py

šŸ”„ Software Workflow

The Protein Sequence Toolkit follows a modular workflow that separates data input, validation, scientific computation, and visualization. This architecture improves readability, maintainability, testing, and future extensibility.

Software Workflow

Workflow Description

The analysis pipeline consists of the following stages:

  1. Input

    • Accepts either a raw protein sequence or a FASTA file.
  2. Sequence Validation

    • Converts the sequence to uppercase.
    • Verifies that only the 20 standard amino acids are present.
    • Raises informative errors for invalid input.
  3. Protein Object

    • Stores the validated sequence.
    • Provides common sequence properties.
    • Serves as the central object shared across modules.
  4. Scientific Calculations

    • Protein length
    • Molecular weight
    • Amino acid composition
    • Residue class distribution
  5. Visualization

    • Amino acid composition bar chart
    • Residue class distribution donut chart
    • Integrated protein analysis dashboard
  6. Output

    • Console summary
    • High-resolution figures
    • Publication-ready dashboard

Testing

The toolkit uses pytest for automated unit testing.

Run all tests:

pytest

Current status:

==============================
12 passed
==============================

The test suite validates:

  • Protein sequence validation
  • FASTA parsing
  • Molecular weight calculation
  • Amino acid composition
  • Residue class distribution
  • Error handling

Biological Applications

This toolkit can be used for educational and research purposes involving:

  • Protein biochemistry
  • Molecular biology
  • Recombinant protein research
  • Biotechnology education
  • Bioinformatics training
  • Protein sequence characterization
  • Computational biology

Scientific Methods

The toolkit currently implements:

  • Protein sequence validation
  • FASTA parsing
  • Amino acid composition analysis
  • Residue frequency calculation
  • Residue class classification
  • Molecular weight estimation
  • Scientific visualization

Future Development

Planned features for future releases include:

  • Hydrophobicity profile
  • Isoelectric point (pI) estimation
  • GRAVY score calculation
  • Extinction coefficient
  • Instability index
  • Aliphatic index
  • Batch FASTA processing
  • CSV and JSON export
  • Interactive web interface
  • PyPI package distribution

Technologies Used

  • Python 3
  • Matplotlib
  • Object-Oriented Programming (OOP)
  • Scientific Computing
  • Modular Software Design

Scientific References

  1. Nelson DL, Cox MM. Lehninger Principles of Biochemistry.

  2. Kyte J, Doolittle RF. A Simple Method for Displaying the Hydropathic Character of a Protein.

  3. ExPASy ProtParam Documentation (conceptual reference)

  4. FASTA Sequence Format Specification


License

This project is released under the MIT License.


About the Developer

Hareem Ahmad

MSc Molecular Biology & Biochemistry

Research Interests:

  • Molecular Biology
  • Protein Biochemistry
  • Bioinformatics
  • Computational Biology
  • Biotechnology
  • Scientific Software Development

GitHub: https://github.com/HareemAhmad-Molbio

LinkedIn: https://www.linkedin.com/in/hareemahmad12/


Acknowledgements

This project was developed as part of my ongoing bioinformatics portfolio to integrate molecular biology knowledge with scientific software development.

The goal is to build practical computational tools that complement experimental biological research while following modern software engineering practices.


Version

Current Release: v1.0 – Core Protein Analysis

About

Research-oriented bioinformatics toolkit for protein sequence analysis using Python.

Topics

biochemistrybioinformaticsmolecular-biologyprotein-analysisprotienpytestpython

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Ɨ600. No cookies required.