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
3749993c
Unverified
Commit
3749993c
authored
Aug 17, 2022
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added is_pre_pro, convenience routine
parent
4e2c02ac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
src/DSSP.cpp
+5
-0
src/DSSP.hpp
+1
-0
No files found.
src/DSSP.cpp
View file @
3749993c
...
...
@@ -1854,6 +1854,11 @@ float DSSP::residue_info::tco() const
return
m_impl
->
mTCO
;
}
bool
DSSP
::
residue_info
::
is_pre_pro
()
const
{
return
m_impl
->
mType
!=
kProline
and
m_impl
->
mNext
!=
nullptr
and
m_impl
->
mNext
->
mType
==
kProline
;
}
std
::
tuple
<
float
,
float
,
float
>
DSSP
::
residue_info
::
ca_location
()
const
{
return
{
m_impl
->
mCAlpha
.
mX
,
m_impl
->
mCAlpha
.
mY
,
m_impl
->
mCAlpha
.
mZ
};
...
...
src/DSSP.hpp
View file @
3749993c
...
...
@@ -142,6 +142,7 @@ class DSSP
float
tco
()
const
;
float
omega
()
const
;
bool
is_pre_pro
()
const
;
bool
is_cis
()
const
{
return
omega
()
<
30.0
f
;
}
std
::
tuple
<
float
,
float
,
float
>
ca_location
()
const
;
...
...
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