Skip to content

Commit

Permalink
fix: && removed at end of lines
Browse files Browse the repository at this point in the history
  • Loading branch information
alsmith151 committed Feb 5, 2024
1 parent f1446ee commit 20c5606
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions seqnado/workflow/rules/peak_call_chip.smk
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ rule macs2_with_input:
shell:
"""
macs2 callpeak -t {input.treatment} -c {input.control} -n seqnado_output/peaks/macs/{wildcards.treatment} -f BAMPE {params.options} > {log} 2>&1 &&
cat {params.narrow} | cut -f 1-3 > {output.peaks} &&
cat {params.narrow} | cut -f 1-3 > {output.peaks}
"""


Expand Down Expand Up @@ -96,7 +96,7 @@ rule homer_with_input:
"""
findPeaks {input.treatment} {params.options} -o {output.peaks}.tmp -i {input.control} > {log} 2>&1 &&
pos2bed.pl {output.peaks}.tmp -o {output.peaks} >> {log} 2>&1 &&
rm {output.peaks}.tmp &&
rm {output.peaks}.tmp
"""


Expand Down Expand Up @@ -141,7 +141,7 @@ rule lanceotron_with_input:
shell:
"""
lanceotron callPeaksInput {input.treatment} -i {input.control} -f {params.outdir} --skipheader > {log} 2>&1 &&
cat {params.outdir}/{wildcards.treatment}_L-tron.bed | awk 'BEGIN{{OFS="\\t"}} $4 >= {params.threshold} {{print $1, $2, $3}}' > {output.peaks} &&
cat {params.outdir}/{wildcards.treatment}_L-tron.bed | awk 'BEGIN{{OFS="\\t"}} $4 >= {params.threshold} {{print $1, $2, $3}}' > {output.peaks}
"""


Expand Down

0 comments on commit 20c5606

Please sign in to comment.