Skip to main content

A package to load PDBs into fragalysis format.

Project description

Build Status Language grade: Python

fragalysis-api

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 (https://fragalysis.diamond.ac.uk).

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 setup.py 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


Download files

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

Source Distribution

fragalysis_api-0.0.1.1.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

fragalysis_api-0.0.1.1-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

Details for the file fragalysis_api-0.0.1.1.tar.gz.

File metadata

  • Download URL: fragalysis_api-0.0.1.1.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.4

File hashes

Hashes for fragalysis_api-0.0.1.1.tar.gz
Algorithm Hash digest
SHA256 a12ccd12250a97db59e8dfba8e45e5c4edd03c778f66d0a02aa6409c688e9a03
MD5 84fa70f94e45c45073cc1cf3cf34e4a4
BLAKE2b-256 01237a5ffcdd6364fabc4dfe6be5bb87c5a4fb9c47e3fc5f3410d71dccf01978

See more details on using hashes here.

File details

Details for the file fragalysis_api-0.0.1.1-py3-none-any.whl.

File metadata

  • Download URL: fragalysis_api-0.0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 22.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.4

File hashes

Hashes for fragalysis_api-0.0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 96fe3ec949b9e5cb72d1ca8d41d1ced8a85e9aeb379502461d63110a1aa38574
MD5 17104eb883bc7e899138a2d105cbe108
BLAKE2b-256 89bfe651353dce66423a155ec339b18bc9e9accba0521c9d9329dea37ab0ce2b

See more details on using hashes here.

Supported by

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