Skip to content
/ molcv Public

Python package and Rust crate for calculating the circular variance of protein residues

Notifications You must be signed in to change notification settings

slietar/molcv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

molcv

This repository contains a Python package and a Rust crate for calculating the circular variance of protein residues.

The following is an example output for the 2H1L structure, where red corresponds to a circular variance of 1 and dark blue to 0.

The Rust crate uses WebGPU to perform calculations on the GPU while providing support for all major platforms. The Python package contains bindings to the Rust crate.

Usage

Installation

$ cargo add molcv
# Or
$ pip install molcv

Usage

# CLI
$ molcv input.pdb --pdb-output-path output.pdb --cutoff 100
$ molcv input.pdb --npy-output-path output.npy --cutoff 50 --cutoff 100

About

Python package and Rust crate for calculating the circular variance of protein residues

Resources

Stars

Watchers

Forks