Skip to content
Snippets Groups Projects
Commit 28fe501e authored by BIOPZ-Gypas Foivos's avatar BIOPZ-Gypas Foivos
Browse files

Fix temp dir

parent 8bdde6f0
No related branches found
No related tags found
1 merge request!101Feature/samtools sort after STAR
Pipeline #13070 passed
......@@ -705,7 +705,8 @@ rule sort_genomic_alignment_samtools:
current_rule + ".{seqmode}.stdout.log")
shell:
"(samtools sort \
"(mkdir -p {output.prefix_temp_dir}; \
samtools sort \
-o {output.bam} \
-T {output.prefix_temp_dir} \
-@ {threads} \
......@@ -725,13 +726,7 @@ rule index_genomic_alignment_samtools:
"samples",
"{sample}",
"map_genome",
"{sample}.{seqmode}.Aligned.sortedByCoord.out.bam"),
prefix_temp_dir = os.path.join(
config["output_dir"],
"samples",
"{sample}.{seqmode}",
"sort_genomic_alignment_samtools"
)
"{sample}.{seqmode}.Aligned.sortedByCoord.out.bam")
output:
bai = os.path.join(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment