Showing
1 changed file
with
3 additions
and
0 deletions
... | @@ -1575,6 +1575,9 @@ class Pipeline: | ... | @@ -1575,6 +1575,9 @@ class Pipeline: |
1575 | 1575 | ||
1576 | # gather the alignments | 1576 | # gather the alignments |
1577 | os.makedirs(path_to_seq_data + "realigned/3d_only", exist_ok=True) | 1577 | os.makedirs(path_to_seq_data + "realigned/3d_only", exist_ok=True) |
1578 | + for f in os.listdir(path_to_seq_data + "realigned"): | ||
1579 | + if "3d_only.afa" in f: | ||
1580 | + subprocess.run(["cp", path_to_seq_data + "realigned/" + f, path_to_seq_data + "realigned/3d_only"]) | ||
1578 | subprocess.run(["cp", path_to_seq_data + "realigned/*_3d_only.afa", path_to_seq_data + "realigned/3d_only" ]) | 1581 | subprocess.run(["cp", path_to_seq_data + "realigned/*_3d_only.afa", path_to_seq_data + "realigned/3d_only" ]) |
1579 | subprocess.run(["rm", "-f", runDir + f"/archive/RNANET_alignments_latest.tar.gz"]) | 1582 | subprocess.run(["rm", "-f", runDir + f"/archive/RNANET_alignments_latest.tar.gz"]) |
1580 | subprocess.run(["tar", "-C", path_to_seq_data + "realigned/3d_only" , "-czf", runDir + f"/archive/RNANET_alignments_latest.tar.gz", "."]) | 1583 | 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