Skip to main content

sb-lab-utils

Python library and associated scripts for munging data files from ClusPro/FTMap/etc.

Installation

From PyPI

Ensure you have pip, then run:

[sudo] pip install sblu

From source

First, install psfgen (see below) if you’re planning to use pdbprep functionality.

Clone the repository to your local machine:

git clone git@bitbucket.org:bu-structure/sb-lab-utils.git

After cloning, you should be able to install using:

cd sb-lab-utils
[sudo] pip install -r requirements/development.txt
pytest
[sudo] python setup.py install

sudo is only needed if you are installing it globally. We recommend use of Anaconda (https://www.continuum.io).

Requirements

psfgen

Building PSF files requires psfgen utility from NAMD package.

Download recent precompiled version of NAMD (2.12 Linux-x86_64-multicore) from http://www.ks.uiuc.edu/Development/Download/download.cgi?UserID=&AccessCode=&ArchiveID=1501 (registration is required).

Extract the archive and copy the psfgen binary to /usr/local/bin/ (or, if you wish, any other location listed in your PATH environment variable):

tar zxf NAMD_2.12_Linux-x86_64-multicore.tar.gz && sudo cp NAMD_2.12_Linux-x86_64-multicore/psfgen "/usr/local/bin/"

Python modules

If you’re using Anaconda or already have NumPy installed from any other source, then you should be fine just running pip install -r requirements/development.txt.

If you don’t have NumPy, you might get a cryptic No files/directories in /tmp/pip-install-xxxxx/ProDy/pip-egg-info (from PKG-INFO) error during this step.

To resolve it, just install NumPy manually: pip install numpy>=1.10, and then re-run the command above.

Usage

Some basic examples are included in the examples directory.

Metadata

Release files for sblu 0.7.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sblu 0.7.2
File Size Uploaded Provenance Actions
sblu-0.7.2.tar.gz 10.1 MB Without provenance Details for sblu-0.7.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for sblu 0.7.2
File Interpreter ABI Platform Actions
sblu-0.7.2-py3.6.egg Legacy Egg format - - Details for sblu-0.7.2-py3.6.egg
sblu-0.7.2-py3-none-any.whl Python 3 none any Details for sblu-0.7.2-py3-none-any.whl

Total release size: 10.2 MB

Release files / sblu-0.7.2.tar.gz

Download URL sblu-0.7.2.tar.gz
Size 10.1 MB
Tags Source
SHA-256 checksum
How to use checksums
03ae8c3475f036489249792b227702556e9bc48c26a01d8889b2c39ba9bbdcb5
BLAKE2b-256 checksum
How to use checksums
30e9555eb67136db8250ff251cce40bc8c5f73a52c7215701d6c16955c2e6375
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.1 CPython/3.6.9

Release files / sblu-0.7.2-py3.6.egg

Download URL sblu-0.7.2-py3.6.egg
Size 110.5 kB
Tags Egg
SHA-256 checksum
How to use checksums
68c179f789d0cba68ff41f210ce830937a91b0f5c06281211add49797eb8ca5e
BLAKE2b-256 checksum
How to use checksums
a883adc7b77fe71ad40674beed53ceedd89fe38ea2df8d9d4314519bb3741d80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.1 CPython/3.6.9

Release files / sblu-0.7.2-py3-none-any.whl

Download URL sblu-0.7.2-py3-none-any.whl
Size 51.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fc9f0aafad6040db22e1c6bb77c7a2efed3d6ed4d5c9e5b2f5e2888db2cfbe25
BLAKE2b-256 checksum
How to use checksums
18bd5242d966a94fb7324ddb703e7659dbf7e7922ac41f80b892888ec6ddba53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.1 CPython/3.6.9

Security for sblu 0.7.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page