peptoneltd / nerfax Goto Github PK
View Code? Open in Web Editor NEWAn efficient method for the conversion from internal to Cartesian coordinates that utilizes the platform-agnostic JAX Python library.
License: Apache License 2.0
An efficient method for the conversion from internal to Cartesian coordinates that utilizes the platform-agnostic JAX Python library.
License: Apache License 2.0
While trying to understand how the internal coordinates are represented on in SCNet format, I noticed nerfax seems to assign additional data beyond the bond and torsion angles and the bond lengths.
I noticed this when I added the following lines of code to your PDB reconstruction example.
seq = list(traj.topology.to_fasta()[0])
glycine_angles = [internal_coords["angles_mask"][0][i,:]
for i in range(len(seq)) if seq[i] == "G"]
glycine_torsions = [internal_coords["angles_mask"][1][i,:]
for i in range(len(seq)) if seq[i] == "G"]
glycine_bonds = [internal_coords["bond_mask"][i,:]
for i in range(len(seq)) if seq[i] == "G"]
Examining these values, I find that each has five non-zero entries, even though point cloud mask has only four, and the data format described in mp_nerf.kb_proteins suggests that glycine should have only four bond angles, four torsions, and four bond lengths.
Notably, I only see this for glycines.
Everything else has a number of non-zero entries matching the mp_nerf description and number of nonzero entries in the cloud mask. Furthermore, the first four bond angles tend to be very near their reference values, but the last one varies greatly. Also, the final bond length is typically very large.
I have not tried out mp_nerf to see if this also happens in their code.
Is this intentional? If so, what are the extra bond lengths, torsions, and angles?
Thanks for the excellent package! To clarify, does it work with RNA PDB structures?
Hi, is there any example how to use nerfax with PDB files? Basically, how to use nerfax to convert 3D coordinates to internal coordinates and use internal coordinates to reconstruct 3D coordinates? Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.