Skip to content

Commit d386805

Browse files
committed
removed cache from rules (not working porperly)
1 parent 802058a commit d386805

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

workflow/rules/resources.smk

+1-13
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ rule get_fasta:
66
url=resources.fasta_url,
77
log:
88
"logs/resources/get_fasta.log"
9-
#cache: True
109
threads: config["resources"]["plotting"]["cpu"]
1110
resources:
1211
runtime=config["resources"]["plotting"]["time"]
@@ -32,7 +31,6 @@ rule install_damidseq_pipeline_software:
3231
url="https://github.com/owenjm/damidseq_pipeline.git",
3332
version="-b v1.5.3",
3433
retries: 3
35-
#cache: True
3634
log:
3735
"logs/resources/install_find_peaks_software.log"
3836
threads: 1
@@ -84,7 +82,6 @@ rule masked_fasta:
8482
genome=resources.genome,
8583
log:
8684
"logs/resources/masked_fasta.log"
87-
#cache: True
8885
threads: config["resources"]["plotting"]["cpu"]
8986
resources:
9087
runtime=config["resources"]["plotting"]["time"]
@@ -101,7 +98,6 @@ rule index_fasta:
10198
f"{resources.fasta}.fai",
10299
log:
103100
"logs/resources/index_fasta.log"
104-
#cache: True
105101
threads: config["resources"]["plotting"]["cpu"]
106102
resources:
107103
runtime=config["resources"]["plotting"]["time"]
@@ -135,7 +131,6 @@ rule make_gatc_tracks:
135131
f"resources/{resources.genome}_{resources.build}_{maskedgenes}.masked.GATC.gff",
136132
params:
137133
genome=lambda wildcards, output: output[0][:-9]
138-
#cache: True
139134
threads: config["resources"]["fastqc"]["cpu"],
140135
resources:
141136
time=config["resources"]["fastqc"]["time"],
@@ -162,7 +157,6 @@ rule bowtie2_build_index:
162157
".rev.1.bt2",
163158
".rev.2.bt2",
164159
),
165-
#cache: True
166160
log:
167161
f"logs/bowtie2_build_index/{resources.genome}_{resources.build}.log",
168162
params:
@@ -175,9 +169,6 @@ rule bowtie2_build_index:
175169

176170

177171
if config["plasmid_fasta"] != "none":
178-
# Check plasmid fasta
179-
#check_plasmid_fasta(config["plasmid_fasta"])
180-
181172
rule bowtie2_build_index_plasmid:
182173
input:
183174
ref=config["plasmid_fasta"],
@@ -191,7 +182,6 @@ if config["plasmid_fasta"] != "none":
191182
".rev.1.bt2",
192183
".rev.2.bt2",
193184
),
194-
#cache: True
195185
log:
196186
f"logs/bowtie2_build_index/{plasmid_name}.log",
197187
params:
@@ -200,6 +190,4 @@ if config["plasmid_fasta"] != "none":
200190
resources:
201191
runtime=config["resources"]["index"]["time"],
202192
wrapper:
203-
f"{wrapper_version}/bio/bowtie2/build"
204-
205-
193+
f"{wrapper_version}/bio/bowtie2/build"

0 commit comments

Comments
 (0)