Skip to main content

A package to load PDBs into fragalysis format.

Project description

Build Status Language grade: Python


This api aims to allow any user to upload pdb files from the pdb or that they have created themselves, and analyse the ligand binding using the fragalysis webpage (

How to use API

(note: not live yet)

  1. Set up environment
  2. Submit PDB files - you will be given a query ID
  3. Push your files into fragalysis and view them online
  4. Analyse the binding of ligands to your target protein!

Other functionalities that are available:

  • Import pdb files directly through the API
  • Query the pdb for similar structures that also have ligands bound and have the option to import these structures
How to set install, update and save the fragalysis_env conda environment.

This command exports the env you are in to a .yml file.

conda env export > environment.yml

This command creates the env from the .yml file.

conda env create -f environment.yml

This command updates the current env you are in with the .yml file.

conda env update -f environment.yml

This command activates the created environment

conda activate fragalysis_env

To install make sure you are in the fragalysis_env:

pip install -e .

You can check if it has installed using

conda list

Enforced rules :scroll:

  • The pdb file shall not be greater than 5mb.
  • The pdb filename shall not contain non English language ascii characters and shall be between 4 and 20 characters in length.
  • Each pdb file for alignment shall contain the same number of chains.
  • All pdb files to be aligned must be in the same directory.
  • If manually selecting a file for reference it must be in the same director as all pdb files for alignment.

Who we are

We are the Fragment 5, a group of students at the University of Oxford.

Anna :whale:
Maranga :fire:
George a.k.a Joff Boff :squirrel:
Tobias :cow:
Alister :panda_face:

We are looked after by Rachael :crown:

Project details

Release history Release notifications

Download files

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

Files for fragalysis-api, version
Filename, size File type Python version Upload date Hashes
Filename, size fragalysis_api- (22.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size fragalysis_api- (18.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page