Commit 3ae5ec6 1 parent 7863452 commit 3ae5ec6 Copy full SHA for 3ae5ec6
File tree 1 file changed +13
-8
lines changed
1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -126,23 +126,28 @@ rule chrom_sizes:
126
126
127
127
rule make_gatc_tracks :
128
128
input :
129
- sw = "resources/damidseq_pipeline" ,
130
129
fa = f"resources/{ resources .genome } _{ resources .build } _{ maskedgenes } .masked.fa" ,
131
130
output :
132
131
f"resources/{ resources .genome } _{ resources .build } _{ maskedgenes } .masked.GATC.gff" ,
133
132
params :
134
- genome = lambda wildcards , output : output [0 ][:- 9 ]
135
- threads : config ["resources" ]["fastqc" ]["cpu" ],
133
+ genome = resources .genome ,
134
+ motif = "GATC" ,
135
+ extras = "" ,
136
+ threads : config ["resources" ]["damid" ]["cpu" ],
136
137
resources :
137
- runtime = config [ "resources" ][ "fastqc" ][ "time" ] ,
138
+ runtime = 45 ,
138
139
conda :
139
- "../envs/damid .yaml" ,
140
+ "../envs/peak_calling .yaml" ,
140
141
log :
141
142
"logs/make_gatc_tracks/tracks.log" ,
142
143
shell :
143
- "perl resources/damidseq_pipeline/gatc.track.maker.pl "
144
- "--name={params.genome} "
145
- "{input.fa} > {log} 2>&1 "
144
+ "python workflow/scripts/gatc.track.maker.py "
145
+ "--genome {params.genome} "
146
+ "--fasta {input.fa} "
147
+ "--outfile {output} "
148
+ "--threads {threads} "
149
+ "--motif {params.motif} "
150
+ "{params.extras} > {log} 2>&1 "
146
151
147
152
148
153
rule bowtie2_build_index :
You can’t perform that action at this time.
0 commit comments