pg-main from prod server added
This commit is contained in:
10
pgx-main/copy_allele_file.py
Normal file
10
pgx-main/copy_allele_file.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import os
|
||||
import shutil
|
||||
|
||||
x = "pgx_results"
|
||||
with open("genes.txt", "r") as f:
|
||||
genes = [g.strip() for g in f.readlines() if g.strip()]
|
||||
|
||||
for d in os.listdir(x):
|
||||
for g in genes:
|
||||
shutil.copy(f"data/{d[:-10]}{g}.alleles", f"{x}/{d}/")
|
||||
Reference in New Issue
Block a user