jonathanking / sidechainnet

An all-atom protein structure dataset for machine learning.
BSD 3-Clause "New" or "Revised" License
322 stars 36 forks source link

arbitrary offsets #46

Closed dkoes closed 1 year ago

dkoes commented 2 years ago

Description

This is a modification of previous pull request that supports arbitrary offsets from variable dihedral.

Much faster coordinate building from angles. fastbuild is more than 300 times faster with autograd on than the default routines for a 437 residue protein (and scales better). It uses parallel matrix operations and a logarithmic building of the backbone. Should be straightforward to define alternative sidechain geometries.

This is a pure python implementation. A C++ implementation only improved speed about 10% and I decided that wasn't worth the extra complexity and opacity to pytorch tools.

Todos

Questions

Status