Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Louis BECQUEY
/
RNANet
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Louis BECQUEY
2020-07-21 07:49:30 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b68b73f6c5378d7423c487187c8fcab1be7d1e7d
b68b73f6
1 parent
d9616243
selection of nt range for reversed chains
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
RNAnet.py
RNAnet.py
View file @
b68b73f
...
...
@@ -275,7 +275,10 @@ class Chain:
# Remove nucleotides of the chain that are outside the Rfam mapping, if any
if
self
.
pdb_start
and
self
.
pdb_end
:
df
=
df
.
drop
(
df
[(
df
.
nt_resnum
<
self
.
pdb_start
)
|
(
df
.
nt_resnum
>
self
.
pdb_end
)]
.
index
)
if
self
.
pdb_start
<
self
.
pdb_end
:
df
=
df
.
drop
(
df
[(
df
.
nt_resnum
<
self
.
pdb_start
)
|
(
df
.
nt_resnum
>
self
.
pdb_end
)]
.
index
)
else
:
df
=
df
.
drop
(
df
[(
df
.
nt_resnum
<
self
.
pdb_end
)
|
(
df
.
nt_resnum
>
self
.
pdb_start
)]
.
index
)
#############################################
# Solve some common issues and drop ligands
...
...
Please
register
or
login
to post a comment