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
2021-04-04 21:04:06 +0200
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
1eff7ed5b6b309e34fb1f87d38e9250cbb298ced
1eff7ed5
2 parents
82eddfba
4846d49a
Merged Khodor-internship to master + general cmalign options
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
RNAnet.py
statistics.py
RNAnet.py
View file @
1eff7ed
This diff is collapsed. Click to expand it.
statistics.py
View file @
1eff7ed
...
...
@@ -952,8 +952,8 @@ def par_distance_matrix(filelist, f, label, consider_all_atoms, s):
else
:
d
[
i
,
j
]
=
get_euclidian_distance
(
coordinates_with_gaps
[
i
],
coordinates_with_gaps
[
j
])
if
f
not
in
LSU_set
and
f
not
in
SSU_set
:
np
.
savetxt
(
runDir
+
'/results/distance_matrices/'
+
f
+
'_'
+
label
+
'/'
+
s
.
id
.
strip
(
"
\'
"
)
+
'.csv'
,
d
,
delimiter
=
","
,
fmt
=
"
%.3
f"
)
#
if f not in LSU_set and f not in SSU_set:
np
.
savetxt
(
runDir
+
'/results/distance_matrices/'
+
f
+
'_'
+
label
+
'/'
+
s
.
id
.
strip
(
"
\'
"
)
+
'.csv'
,
d
,
delimiter
=
","
,
fmt
=
"
%.3
f"
)
return
1
-
np
.
isnan
(
d
)
.
astype
(
int
),
np
.
nan_to_num
(
d
),
np
.
nan_to_num
(
d
*
d
)
@trace_unhandled_exceptions
...
...
@@ -1169,7 +1169,7 @@ if __name__ == "__main__":
sys
.
exit
()
elif
opt
==
'--version'
:
print
(
"RNANet statistics 1.
3
beta"
)
print
(
"RNANet statistics 1.
4
beta"
)
sys
.
exit
()
elif
opt
==
"-r"
or
opt
==
"--resolution"
:
assert
float
(
arg
)
>
0.0
and
float
(
arg
)
<=
20.0
...
...
Please
register
or
login
to post a comment