Skip to content

Commit

Permalink
hox fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tdayris committed Nov 27, 2023
1 parent 7c58997 commit 1183aa0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

## Features:

* Protect bam output
* Speed-up with wildcards constraints
* Speed-up Picard with BAI inclusion in input files

## Fix:

Expand Down
4 changes: 2 additions & 2 deletions workflow/rules/bowtie2_sambamba_meta.smk
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ use rule sambamba_markdup from bowtie2_sambamba with:
input:
"tmp/sambamba/view/{species}.{build}.{release}.{datatype}/{sample}.bam",
output:
"results/Mapping/{species}.{build}.{release}.{datatype}/{sample}.bam",
protected("results/Mapping/{species}.{build}.{release}.{datatype}/{sample}.bam"),
log:
"logs/sambamba/markdup/{species}.{build}.{release}.{datatype}/{sample}.log",
benchmark:
Expand All @@ -93,7 +93,7 @@ use rule sambamba_index from bowtie2_sambamba with:
input:
"results/Mapping/{species}.{build}.{release}.{datatype}/{sample}.bam",
output:
"results/Mapping/{species}.{build}.{release}.{datatype}/{sample}.bam.bai",
protected("results/Mapping/{species}.{build}.{release}.{datatype}/{sample}.bam.bai"),
log:
"logs/sambamba/index/{species}.{build}.{release}.{datatype}/{sample}.log",
benchmark:
Expand Down
3 changes: 2 additions & 1 deletion workflow/rules/picard_metrics.smk
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
rule picard_create_multiple_metrics_raw:
rule picard_create_multiple_metrics:
input:
bam="results/Mapping/{species}.{build}.{release}.{datatype}/{sample}.bam",
bai="results/Mapping/{species}.{build}.{release}.{datatype}/{sample}.bam.bai",
ref="reference/{species}.{build}.{release}.{datatype}.fasta",
output:
temp(
Expand Down

0 comments on commit 1183aa0

Please sign in to comment.