Menu

Commit [r27410]  Maximize  Restore  History

Added a function for assemble the common atomic coordinates taking sequence alignments into account.

This is the new pipe_control.structure.main.assemble_structural_coordinates() function. It takes
the sequence alignment logic out of the lib.structure.internal.coordinates.assemble_coord_array()
function so that sequence alignments in the relax data store can be used. The logic has also been
redefined as: 1, use a sequence alignment from the relax data store if present; 2, use no sequence
alignment if coordinates only come from structural models; 3, fall back to a residue number based
alignment. The residue number based alignment is yet to be implemented.

As a consequence, the lib.structure.internal.coordinates.assemble_coord_array() function has been
greatly simplified. It no longer handles sequence alignments, but instead expects the residue
skipping data structure, built from the alignment, as an argument. The seq_info_flag argument has
also been eliminated in this function as well as the pipe_control.structure.main module.

bugman 2015-01-31

changed /trunk/lib/structure/internal/coordinates.py
changed /trunk/pipe_control/structure/main.py
/trunk/lib/structure/internal/coordinates.py Diff Switch to side-by-side view
Loading...
/trunk/pipe_control/structure/main.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.