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-09-09 16:57:52 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
61d2238ec5a7fc8f880bad76312cddf798f288b0
61d2238e
1 parent
a4b2c505
now supports UR3 and CM0 modified residues
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
RNAnet.py
RNAnet.py
View file @
61d2238
...
...
@@ -469,7 +469,7 @@ class Chain:
paired
[
nt2_idx
]
+=
','
+
str
(
nt1_idx
+
1
)
# transform nt_id to shorter values
df
[
'old_nt_resnum'
]
=
[
n
.
replace
(
self
.
pdb_chain_id
+
'.'
+
name
,
''
)
.
replace
(
'^'
,
''
)
for
n
,
name
in
zip
(
df
.
nt_id
,
df
.
nt_name
)
]
df
[
'old_nt_resnum'
]
=
[
n
.
replace
(
self
.
pdb_chain_id
+
'.'
+
name
,
''
)
.
replace
(
'^'
,
''
)
.
replace
(
'/'
,
''
)
for
n
,
name
in
zip
(
df
.
nt_id
,
df
.
nt_name
)
]
df
[
'paired'
]
=
paired
df
[
'pair_type_LW'
]
=
pair_type_LW
...
...
Please
register
or
login
to post a comment