Skip to content

Commit

Permalink
update env, temp output, memory usage
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixMoelder committed Dec 4, 2024
1 parent 9ff8128 commit 4c3c9d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion workflow/envs/varlociraptor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ channels:
dependencies:
- varlociraptor >=8.4.13,<8.5
- vega-lite-cli =5.16
- bcftools =1.19
- bcftools =1.21
8 changes: 4 additions & 4 deletions workflow/rules/mapping.smk
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ rule map_reads_vg:
reads=get_map_reads_input,
index=rules.vg_autoindex.output,
output:
"results/mapped/vg/{sample}.preprocessed.bam",
temp("results/mapped/vg/{sample}.preprocessed.bam"),
log:
"logs/mapped/vg/{sample}.log",
benchmark:
Expand All @@ -41,7 +41,7 @@ rule fix_mate:
input:
"results/mapped/vg/{sample}.preprocessed.bam",
output:
"results/mapped/vg/{sample}.mate_fixed.bam",
temp("results/mapped/vg/{sample}.mate_fixed.bam"),
log:
"logs/samtools/fix_mate/{sample}.log",
threads: 8
Expand All @@ -57,13 +57,13 @@ rule add_read_group:
input:
"results/mapped/vg/{sample}.mate_fixed.bam",
output:
"results/mapped/vg/{sample}.bam",
temp("results/mapped/vg/{sample}.bam"),
log:
"logs/picard/add_rg/{sample}.log",
params:
extra=get_vg_read_group,
resources:
mem_mb=60000,
mem_mb=1024,
wrapper:
"v2.3.2/bio/picard/addorreplacereadgroups"

Expand Down

0 comments on commit 4c3c9d7

Please sign in to comment.