Skip to content

Commit

Permalink
invokve perl in environment when calling reannotation perl scripts [c…
Browse files Browse the repository at this point in the history
…i skip]
  • Loading branch information
TBradley27 committed May 16, 2019
1 parent 9067ff7 commit 6d3568e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/with_reannotation/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ rule reannotate_3utrs:
coverage_cutoff=0.05,
window_size=100
shell:
"{input.script} -i {input.bedgraphs} -p {params.percentage_cutoff} -c {params.coverage_cutoff} -w {params.window_size} -m {input.bed} -o {output}"
"perl {input.script} -i {input.bedgraphs} -p {params.percentage_cutoff} -c {params.coverage_cutoff} -w {params.window_size} -m {input.bed} -o {output}"

rule get_extended_bed_file:
input:
Expand Down Expand Up @@ -183,7 +183,7 @@ rule identify_APA_sites:
output:
temp("results/targets/{species}_{tissue}_chr{chrom}.APA.txt")
shell:
"{input.script} -i {input.bedgraphs} -g 1 -n 1 -u {input.bed} -o {output}"
"perl {input.script} -i {input.bedgraphs} -g 1 -n 1 -u {input.bed} -o {output}"

rule aggregate_APA_sites:
input: lambda wildcards: expand("results/targets/{species}_{tissue}_chr{chrom}.APA.txt", chrom=config['chromosomes'][wildcards.species], species=wildcards.species, tissue=wildcards.tissue)
Expand Down

0 comments on commit 6d3568e

Please sign in to comment.