Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
libcifpp
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
libcifpp
Commits
c8f66ae6
Unverified
Commit
c8f66ae6
authored
Feb 23, 2022
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
start remove residue
parent
858c967e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletions
+12
-1
CMakeLists.txt
+1
-1
include/cif++/Structure.hpp
+6
-0
src/Structure.cpp
+5
-0
No files found.
CMakeLists.txt
View file @
c8f66ae6
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
cmake_minimum_required
(
VERSION 3.16
)
cmake_minimum_required
(
VERSION 3.16
)
# set the project name
# set the project name
project
(
cifpp VERSION 3.0.
4
LANGUAGES CXX
)
project
(
cifpp VERSION 3.0.
5
LANGUAGES CXX
)
list
(
PREPEND CMAKE_MODULE_PATH
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake"
)
list
(
PREPEND CMAKE_MODULE_PATH
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake"
)
...
...
include/cif++/Structure.hpp
View file @
c8f66ae6
...
@@ -627,6 +627,12 @@ class Structure
...
@@ -627,6 +627,12 @@ class Structure
/// \return The newly create asym ID
/// \return The newly create asym ID
std
::
string
createNonpoly
(
const
std
::
string
&
entity_id
,
std
::
vector
<
std
::
vector
<
cif
::
Item
>>
&
atom_info
);
std
::
string
createNonpoly
(
const
std
::
string
&
entity_id
,
std
::
vector
<
std
::
vector
<
cif
::
Item
>>
&
atom_info
);
/// \brief Remove a residue, can be monomer or nonpoly
///
/// \param asym_id The asym ID
/// \param seq_id The sequence ID
void
removeResidue
(
const
std
::
string
&
sym_id
,
int
seq_id
);
/// \brief To sort the atoms in order of model > asym-id > res-id > atom-id
/// \brief To sort the atoms in order of model > asym-id > res-id > atom-id
/// Will asssign new atom_id's to all atoms. Be carefull
/// Will asssign new atom_id's to all atoms. Be carefull
void
sortAtoms
();
void
sortAtoms
();
...
...
src/Structure.cpp
View file @
c8f66ae6
...
@@ -1920,6 +1920,11 @@ void Structure::removeAtom(Atom &a)
...
@@ -1920,6 +1920,11 @@ void Structure::removeAtom(Atom &a)
updateAtomIndex
();
updateAtomIndex
();
}
}
void
Structure
::
removeResidue
(
const
std
::
string
&
asym_id
,
int
seq_id
)
{
}
void
Structure
::
swapAtoms
(
Atom
&
a1
,
Atom
&
a2
)
void
Structure
::
swapAtoms
(
Atom
&
a1
,
Atom
&
a2
)
{
{
cif
::
Datablock
&
db
=
*
mFile
.
impl
().
mDb
;
cif
::
Datablock
&
db
=
*
mFile
.
impl
().
mDb
;
...
...
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