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-19 10:52:59 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
04f27675633ce6ba75efab8bd1ce4c6a45baf14a
04f27675
1 parent
30c7b86f
3D alignments archival issue solved
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
RNAnet.py
RNAnet.py
View file @
04f2767
...
...
@@ -1575,6 +1575,9 @@ class Pipeline:
# gather the alignments
os
.
makedirs
(
path_to_seq_data
+
"realigned/3d_only"
,
exist_ok
=
True
)
for
f
in
os
.
listdir
(
path_to_seq_data
+
"realigned"
):
if
"3d_only.afa"
in
f
:
subprocess
.
run
([
"cp"
,
path_to_seq_data
+
"realigned/"
+
f
,
path_to_seq_data
+
"realigned/3d_only"
])
subprocess
.
run
([
"cp"
,
path_to_seq_data
+
"realigned/*_3d_only.afa"
,
path_to_seq_data
+
"realigned/3d_only"
])
subprocess
.
run
([
"rm"
,
"-f"
,
runDir
+
f
"/archive/RNANET_alignments_latest.tar.gz"
])
subprocess
.
run
([
"tar"
,
"-C"
,
path_to_seq_data
+
"realigned/3d_only"
,
"-czf"
,
runDir
+
f
"/archive/RNANET_alignments_latest.tar.gz"
,
"."
])
...
...
Please
register
or
login
to post a comment