Skip to content

Commit

Permalink
quick update
Browse files Browse the repository at this point in the history
  • Loading branch information
y9c committed Aug 26, 2022
1 parent 193ab7d commit d291617
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ rule map_to_contamination_by_bowtie2:
shell:
# The condition is not that stringent
"""
export LC_ALL=en_US.UTF-8
{params.path_bowtie2} -p {threads} --no-unal --end-to-end --fast --un-conc {params.un} -x {params.ref_bowtie2} -1 {input.r1} -2 {input.r2} > {output.sam} 2> >(tee {output.report} >&2)
"""

Expand All @@ -245,6 +246,7 @@ rule map_to_spike_by_bowtie2:
mem="96G",
shell:
"""
export LC_ALL=en_US.UTF-8
{params.path_bowtie2} -p {threads} --no-unal --end-to-end -L 16 -N 1 --mp 5 --un-conc {params.un} -x {params.ref_bowtie2} -1 {input.r1} -2 {input.r2} > {output.sam} 2> >(tee {output.report} >&2)
"""

Expand All @@ -270,6 +272,7 @@ rule map_to_rRNA_by_bowtie2:
mem="96G",
shell:
"""
export LC_ALL=en_US.UTF-8
{params.path_bowtie2} -p {threads} --no-unal --end-to-end -L 16 -N 1 --mp 5 --un-conc {params.un} -x {params.ref_bowtie2} -1 {input.r1} -2 {input.r2} > {output.sam} 2> >(tee {output.report} >&2)
"""

Expand All @@ -295,6 +298,7 @@ rule map_to_smallRNA_by_bowtie2:
mem="96G",
shell:
"""
export LC_ALL=en_US.UTF-8
{params.path_bowtie2} -p {threads} --no-unal --end-to-end -L 16 -N 1 --mp 5 --un-conc {params.un} -x {params.ref_bowtie2} -1 {input.r1} -2 {input.r2} > {output.sam} 2> >(tee {output.report} >&2)
"""

Expand Down

0 comments on commit d291617

Please sign in to comment.