Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openstructure
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
openstructure
Commits
3ce55778
Commit
3ce55778
authored
12 years ago
by
Valerio Mariani
Browse files
Options
Downloads
Patches
Plain Diff
Added check for chain names for lddt, updated documetation
parent
7a451c63
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
modules/mol/alg/doc/molalg.rst
+4
-3
4 additions, 3 deletions
modules/mol/alg/doc/molalg.rst
modules/mol/alg/src/lddt.cc
+6
-0
6 additions, 0 deletions
modules/mol/alg/src/lddt.cc
modules/mol/alg/src/local_dist_diff_test.hh
+11
-4
11 additions, 4 deletions
modules/mol/alg/src/local_dist_diff_test.hh
with
21 additions
and
7 deletions
modules/mol/alg/doc/molalg.rst
+
4
−
3
View file @
3ce55778
...
@@ -115,9 +115,10 @@
...
@@ -115,9 +115,10 @@
Both functions process only standard residues present in the first chain of the reference structures.
Both functions process only standard residues present in the first chain of the reference structures.
The only difference between the two functions is that one takes a single reference structure and the other
The only difference between the two functions is that one takes a single reference structure and the other
a list of reference structures. The structures in the list have to be properly aligned before being passed
a list of reference structures. The structures in the list have to be properly prepared before being passed
to the function. Gaps in the alignment are allowed and automatically dealt with, but corresponding residues
to the function. Corresponding residues in the structures must have the same residue number, the same chain name,
in the structures must have the same residue number.
etc. Gaps are allowed and automatically dealt with: if information about a distance is present in at least one of
the structures, it will be considered.
If a distance between two atoms is shorter than the inclusion radius in all structures in which the two atoms are
If a distance between two atoms is shorter than the inclusion radius in all structures in which the two atoms are
present, it is included in the list. However, if the distance is longer than the inclusion radius in at least
present, it is included in the list. However, if the distance is longer than the inclusion radius in at least
...
...
This diff is collapsed.
Click to expand it.
modules/mol/alg/src/lddt.cc
+
6
−
0
View file @
3ce55778
...
@@ -238,6 +238,12 @@ int main (int argc, char **argv)
...
@@ -238,6 +238,12 @@ int main (int argc, char **argv)
if
(
!
ref
)
{
if
(
!
ref
)
{
exit
(
-
1
);
exit
(
-
1
);
}
}
if
(
ref_list
.
size
()
>
0
)
{
if
(
ref_list
[
0
].
GetChainList
()[
0
].
GetName
()
!=
ref
.
GetChainList
()[
0
].
GetName
())
{
std
::
cout
<<
"ERROR: First chains in the reference structures have different names"
<<
std
::
endl
;
exit
(
-
1
);
}
}
ref_list
.
push_back
(
ref
.
CreateFullView
());
ref_list
.
push_back
(
ref
.
CreateFullView
());
}
}
glob_dist_list
=
CreateDistanceListFromMultipleReferences
(
ref_list
,
cutoffs
,
sequence_separation
,
radius
);
glob_dist_list
=
CreateDistanceListFromMultipleReferences
(
ref_list
,
cutoffs
,
sequence_separation
,
radius
);
...
...
This diff is collapsed.
Click to expand it.
modules/mol/alg/src/local_dist_diff_test.hh
+
11
−
4
View file @
3ce55778
...
@@ -161,10 +161,17 @@ GlobalRDMap CreateDistanceList(const EntityView& ref,Real max_dist);
...
@@ -161,10 +161,17 @@ GlobalRDMap CreateDistanceList(const EntityView& ref,Real max_dist);
/// \brief Creates a list of distances to check during a Local Difference Distance Test starting from multiple reference structures
/// \brief Creates a list of distances to check during a Local Difference Distance Test starting from multiple reference structures
///
///
/// Requires a list of reference structure and an inclusion radius (max_dist). If a distance between two atoms is shorter
/// Requires a list of reference structure and an inclusion radius (max_dist).
/// than the inclusion radius in all structures in which the two atoms are present, it is included in the list
///
/// However, if the distance is longer than the inclusion radius in at least one of the structures, it
/// The structures in the list have to be properly prepared before being passed
/// is not be considered a local interaction and is exluded from the list
/// to the function. Corresponding residues in the structures must have the same residue number, the same chain name,
/// etc. Gaps are allowed and automatically dealt with: if information about a distance is present in at least one of
/// the structures, it will be considered.
///
///
/// If a distance between two atoms is shorter than the inclusion radius in all structures in which the two atoms are
/// present, it is included in the list. However, if the distance is longer than the inclusion radius in at least one
/// of the structures, it is not be considered a local interaction and is exluded from the list
///
///
/// The function takes care of residues with ambigous symmetric sidechains. To decide which naming convention to use, the functions
/// The function takes care of residues with ambigous symmetric sidechains. To decide which naming convention to use, the functions
/// computes a local distance score of each reference structure with the first reference structure in the list, using only non ambigously-named atoms.
/// computes a local distance score of each reference structure with the first reference structure in the list, using only non ambigously-named atoms.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment