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.

:battery: Installation

pip install proteinspy

:bulb: 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

:computer: 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.1

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.1.tar.gz (4.9 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.1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: proteinspy-1.0.1.tar.gz
  • Upload date:
  • Size: 4.9 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.1.tar.gz
Algorithm Hash digest
SHA256 fe8e5b77578a0ca993da3c7e806701ecde8e9e3d7949ab67810339c9d8438114
MD5 4bf2bc00a97af0ce93392a595550cd97
BLAKE2b-256 c04521134c58d8b4cb594f6d8603d5cd8c6f8e6475482ed416a734b9769c5cec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: proteinspy-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bf8c0abab46576139413d329d9a0c38c71ae5c457bc56f2d78418a1aa365f99b
MD5 9914b40ca4e9088e919015c593d62617
BLAKE2b-256 7bc16b642357293abdc07ca198f81d5803c0c3b8831c468b307f4935f8a705bc

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