Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.
/ pyFold-1D Public archive

Working repo for python version of ToyFold-1D

Notifications You must be signed in to change notification settings

DasLab/pyFold-1D

Repository files navigation

ToyFold-1D (aka pyFold?)

Translated from Rhiju Das' Toyfold-1D in MATLAB, aiming to conserve code syntax / variable names / function names as much as possible. Docstrings mostly blatant plagiarizations!

some implementation notes:

Matlab dir -> py layout:

design -> went to design.Design or utils/design_utils.py

conformations -> conformation.Conformation or utils/conformation_utils.py

scoring -> inside conformation.Conformation or utils/energy_utils.py

util -> utils/conformation_utils.py

unittests -> tests (incomplete), not updated to class structure yet

small things:

'partner'-type arrays are now zero-indexed, which changes unpaired state to be -1 (like Contrafold syntax)

Renamed input vec 'partner' to 'constraint' to distinguish it as an initial input from the p arrays.

Unit tests not up to date with class organization yet, but demo.ipynb replicates some of the tests from the MATLAB dir.

About

Working repo for python version of ToyFold-1D

Resources

Stars

Watchers

Forks

Packages

No packages published