Skip to main content

A Poetry package to analyze protein structure from .cif files

Project description

Proteinspy

This is a python package based on Poetry.

This repository can be used to find the Resolution, Missing residues, Ligands, and Chains in any Protein sample uploaded. The sample must be in a .cif file format for the package to run properly.

🔋 Installation

pip install proteinspy

Windows note

If proteinspy is not recognized after installation, add the Python Scripts folder to your PATH. Run this once in PowerShell:

$env:PATH += ";$env:APPDATA\Python\Python313\Scripts"
[System.Environment]::SetEnvironmentVariable("PATH", $env:PATH, "User")

Then restart PowerShell and run proteinspy again.

💡 Getting Started

After installation, run this first to see all available commands:

proteinspy

Or use the help flag:

proteinspy --help

📚 Data

A sample protein, has been given, and can also be accessed from the PDB, among many other samples.

🗒️ Requirements

  • python poetry and its pre-requisites (Python 3.9+ and pip).
  • Dependencies installed automatically: gemmi, rich, click

🚀 To run the pipeline,

Copy these and run them directly for quickest results.

1. For a mode based implementation

proteinspy analyze 10AJ.cif    #replace the protein input name with your own file if you're using a different input or a filename

2. For an argument based implementation

proteinspy resolution 10AJ.cif    #gives the resolution of the protein
proteinspy ligands 10AJ.cif       #gives the ligands in the protein
proteinspy missing 10AJ.cif       #gives the missing residues in the protein
proteinspy chains 10AJ.cif        #gives the chains in the protein

🟥 Note: swap the file name if you are using your own file

💻 Commands

Format: proteinspy <command> <file.cif>

Command Description
proteinspy analyze Run all analyses — resolution, chains, ligands, missing residues
proteinspy resolution Report crystallographic resolution only
proteinspy chains Report all polymer chains only
proteinspy ligands Report all ligand molecules only
proteinspy missing Report all missing residues only

📈 Future Enhancements

  • CLI UI/UX
  • Containerisation, using docker

⚠️ NOTE

This is an open-source project, and any contributions, even if not mentioned in the future enhancements section, are welcome.

📃 Documentation

Full documentation at https://akhilteja2209.github.io/Proteinspy/


Version: 1.0.2

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

proteinspy-1.0.2.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

proteinspy-1.0.2-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file proteinspy-1.0.2.tar.gz.

File metadata

  • Download URL: proteinspy-1.0.2.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.11.15 Linux/6.17.0-1015-azure

File hashes

Hashes for proteinspy-1.0.2.tar.gz
Algorithm Hash digest
SHA256 f723c6f4fe2b840ade4de71ad45f6353749c70102e824506863ea3d19387c6f2
MD5 e5482d85e012cfbd205abf3afb381ae7
BLAKE2b-256 8d790b37ec4ad51af3ad98ed7f7913476cce57e9289b96e9e7529f58615ce0e1

See more details on using hashes here.

File details

Details for the file proteinspy-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: proteinspy-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.11.15 Linux/6.17.0-1015-azure

File hashes

Hashes for proteinspy-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 daecbffdaeb74e40e27833d3e0800e5dc0075e6c56b1e8acb98365cc129b9ac3
MD5 ffdae319d45d737c410cae09d637605a
BLAKE2b-256 f25a0fac36e76793fa840aa47d9ba93b7aa00a52b8b57f1c8b83b9203854e01a

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