diff --git a/lusSTR/workflows/snps.smk b/lusSTR/workflows/snps.smk index 2632fbb..b7c953f 100644 --- a/lusSTR/workflows/snps.smk +++ b/lusSTR/workflows/snps.smk @@ -21,7 +21,7 @@ def create_log(log): shell("mkdir -p logs/{dt}/input/") shell("cp {log} logs/{dt}/strs.log") if os.path.isdir(input_name): - shell("cp {input_name}/* logs/{dt}/input/") + shell("cp {input_name}/*.* logs/{dt}/input/") else: shell("cp '{input_name}' logs/{dt}/input/") shell("cp snp_config.yaml logs/{dt}/") diff --git a/lusSTR/workflows/strs.smk b/lusSTR/workflows/strs.smk index 1214677..7fa75c0 100644 --- a/lusSTR/workflows/strs.smk +++ b/lusSTR/workflows/strs.smk @@ -79,7 +79,7 @@ def create_log(log): shell("mkdir -p logs/{dt}/input/") shell("cp {log} logs/{dt}/strs.log") if os.path.isdir(input_name): - shell("cp {input_name}/* logs/{dt}/input/") + shell("cp {input_name}/*.* logs/{dt}/input/") else: shell("cp '{input_name}' logs/{dt}/input/") shell("cp config.yaml logs/{dt}/")