Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Nov 15, 2024
1 parent 12f29d0 commit 83a31ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion snakePipes/shared/rules/bam_filtering.snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ bam_filter_string = "{} {} {}".format("-F 1024" if dedup else "", "-f 2" if prop

rule samtools_filter:
input:
aligner+"/{sample}.bam"
aligner+"/{sample}.markdup.bam"
output:
bam = temp("filtered_bam/{sample}.filtered.tmp.bam")
params:
Expand Down
6 changes: 3 additions & 3 deletions snakePipes/shared/rules/sambamba.snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ rule sambamba_markdup:
input:
aligner+"/{sample}.sorted.bam"
output:
aligner+"/{sample}.bam"# duplicate marked
aligner+"/{sample}.markdup.bam"# duplicate marked
threads: lambda wildcards: 10 if 10<max_thread else max_thread
benchmark: aligner + "/.benchmark/sambamba_markdup.{sample}.benchmark"
params:
Expand All @@ -34,7 +34,7 @@ rule sambamba_flagstat_sorted:

rule sambamba_flagstat:
input:
aligner+"/{sample}.bam"
aligner+"/{sample}.markdup.bam"
output:
"Sambamba/{sample}.markdup.txt"
conda: CONDA_SAMBAMBA_ENV
Expand All @@ -46,7 +46,7 @@ rule sambamba_flagstat:
## index the duplicate marked folder
rule samtools_index:
input:
aligner+"/{sample}.bam"
aligner+"/{sample}.markdup.bam"
output:
aligner+"/{sample}.bam.bai"
conda: CONDA_SHARED_ENV
Expand Down

0 comments on commit 83a31ce

Please sign in to comment.