Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dssp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
dssp
Commits
ff447e7b
Commit
ff447e7b
authored
Aug 24, 2020
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
better PP helix assignment
parent
88f7d760
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
+7
-10
src/dssp.cpp
+7
-10
No files found.
src/dssp.cpp
View file @
ff447e7b
...
...
@@ -665,6 +665,8 @@ int d_main(int argc, const char* argv[])
(
"rsrc-dir"
,
po
::
value
<
std
::
string
>
(),
"Directory containing the 'resources' used by this application"
)
#endif
(
"min-pp-stretch"
,
po
::
value
<
short
>
(),
"Minimal number of residues having PSI/PHI in range for a PP helix, default is 3"
)
(
"verbose,v"
,
"verbose output"
)
;
...
...
@@ -717,15 +719,6 @@ int d_main(int argc, const char* argv[])
// --------------------------------------------------------------------
#if USE_RSRC
cif
::
rsrc_loader
::
init
();
#else
std
::
string
rsrc_dir
=
"."
;
cif
::
rsrc_loader
::
init
({
{
cif
::
rsrc_loader_type
::
file
,
rsrc_dir
}});
#endif
// --------------------------------------------------------------------
if
(
vm
.
count
(
"dict"
))
{
for
(
auto
dict
:
vm
[
"dict"
].
as
<
std
::
vector
<
std
::
string
>>
())
...
...
@@ -742,7 +735,11 @@ int d_main(int argc, const char* argv[])
// --------------------------------------------------------------------
mmcif
::
DSSP
dssp
(
structure
);
short
pp_stretch
=
3
;
if
(
vm
.
count
(
"min-pp-stretch"
))
pp_stretch
=
vm
[
"min-pp-stretch"
].
as
<
short
>
();
mmcif
::
DSSP
dssp
(
structure
,
pp_stretch
);
std
::
string
fmt
;
if
(
vm
.
count
(
"output-format"
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment