Skip to content

Commit

Permalink
fix mRNAseq
Browse files Browse the repository at this point in the history
  • Loading branch information
katarzyna.otylia.sikora@gmail.com committed Sep 5, 2024
1 parent c4d127c commit a760687
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions snakePipes/shared/rules/umi_tools.snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ if UMIDedup:
{params.umitools_paired} {params.umitools_options}
"""
else:
if aligner == "Bowtie2":
if aligner == "Bowtie2" or aligner == "bwa" or aligner == "bwa-mem2":
rule filter_reads:
input:
bamfile = "filtered_bam/{sample}.filtered.tmp.bam"
Expand All @@ -83,10 +83,10 @@ else:
mv {input.bamfile} {output.bamfile}
"""

elif not (aligner=="bwameth" or aligner=="bwameth2") :
elif aligner == "STAR" or aligner == "HISAT2" :
rule filter_reads:
input:
bamfile = "filtered_bam/{sample}.filtered.tmp.bam"
bamfile = aligner + "/{sample}.bam"
output:
bamfile = "filtered_bam/{sample}.filtered.bam"
shell: """
Expand Down

0 comments on commit a760687

Please sign in to comment.