![]() |
Bsoft 2.1.4
Bernard's software package
|
Functions to make and analyze alpha helices. More...
#include "rwmolecule.h"
#include "mol_alpha.h"
#include "mol_transform.h"
#include "mol_util.h"
#include "Bimage.h"
#include "linked_list.h"
#include "random_numbers.h"
#include "Matrix3.h"
#include "utilities.h"
Classes | |
struct | AlphaTemplate |
Macros | |
#define | NTEMPATOM 6 |
#define | DAXIS 2.303 |
#define | HRISE 1.5 |
#define | HANGLE 100 |
Functions | |
Bmolgroup * | molgroup_generate_alpha_helix (int length) |
Generates an alpha helix of the desired length. More... | |
Bmolecule * | mol_generate_alpha_helix (int length) |
Generates an alpha helix of the desired length. More... | |
int | molgroup_set_alpha_helix (Bmolgroup *molgroup, int helix_start, int helix_end) |
Sets a residue range to an alpha helix in all molecules. More... | |
int | molgroup_find_helical_axes (Bmolgroup *molgroup) |
Calculates the centers and orientations of all alpha helices. More... | |
Vector3< double > | alpha_find_center (Bresidue *resfirst, Bresidue *reslast) |
Calculates the center of an alpha helix. More... | |
Vector3< double > | alpha_find_orientation (Bresidue *resfirst, Bresidue *reslast) |
Calculates the orientation of an alpha helix. More... | |
Vector3< double > | mol_find_alpha_orientation (Bmolecule *mol, int set_std) |
Calculates the orientation of an alpha helix. More... | |
Vector3< double > | point_on_helix_axis (Vector3< double > ca1, Vector3< double > ca2, Vector3< double > ca3) |
Calculates a point on an alpha helix corresponding to a Ca atom. More... | |
long | find_closest_mean (long k, Vector3< double > *mc, Vector3< double > *ma, Vector3< double > c, Vector3< double > a, double afac) |
Bmolgroup * | molgroup_consolidate_alpha (Bmolgroup *molgroup) |
Cluster a set of alpha helices to consolidate helices. More... | |
Variables | |
int | verbose |
struct AlphaTemplate | alpha_template [] |
Functions to make and analyze alpha helices.
#define DAXIS 2.303 |
#define HANGLE 100 |
#define HRISE 1.5 |
#define NTEMPATOM 6 |
Calculates the center of an alpha helix.
*resfirst | first residue in helix. |
*reslast | last residue in helix. |
Calculates the orientation of an alpha helix.
*resfirst | first residue in helix. |
*reslast | last residue in helix. |
long find_closest_mean | ( | long | k, |
Vector3< double > * | mc, | ||
Vector3< double > * | ma, | ||
Vector3< double > | c, | ||
Vector3< double > | a, | ||
double | afac | ||
) |
Calculates the orientation of an alpha helix.
*mol | molecule. |
set_std | rotate and shift to a standard orientation. |
Bmolecule * mol_generate_alpha_helix | ( | int | length | ) |
Generates an alpha helix of the desired length.
length | number of alanines to generate. |
Cluster a set of alpha helices to consolidate helices.
*molgroup | molecule group with alpha helices (deallocated). |
int molgroup_find_helical_axes | ( | Bmolgroup * | molgroup | ) |
Calculates the centers and orientations of all alpha helices.
*molgroup | molecule group. |
Bmolgroup * molgroup_generate_alpha_helix | ( | int | length | ) |
Generates an alpha helix of the desired length.
length | number of alanines to generate. |
int molgroup_set_alpha_helix | ( | Bmolgroup * | molgroup, |
int | helix_start, | ||
int | helix_end | ||
) |
Sets a residue range to an alpha helix in all molecules.
*molgroup | molecule group. |
helix_start | first residue in helix. |
helix_end | last residue in helix. |
Vector3< double > point_on_helix_axis | ( | Vector3< double > | ca1, |
Vector3< double > | ca2, | ||
Vector3< double > | ca3 | ||
) |
Calculates a point on an alpha helix corresponding to a Ca atom.
The point on the alpha helix corresponding to the second Ca atom is returned.
ca1 | first Ca atom. |
ca2 | second Ca atom. |
ca3 | third Ca atom. |
struct AlphaTemplate alpha_template[] |
|
extern |