Skip to content

Commit 391c0b7

Browse files
committed
Add explicit prefix to avoid conflicts with STAR jobs
1 parent c522fc5 commit 391c0b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Snakefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1046,13 +1046,13 @@ rule star_map_mel:
10461046
shell: """{module}; module load STAR
10471047
STAR --parametersFiles Parameters/STAR_params.in \
10481048
--genomeDir {input.genomedir} \
1049-
--outFileNamePrefix {wildcards.sample}/ \
1049+
--outFileNamePrefix {wildcards.sample}/mel \
10501050
--outSAMattributes MD NH \
10511051
--outSAMtype BAM SortedByCoordinate \
10521052
--clip5pNbases 6 \
10531053
--readFilesIn {params.r1s} {params.r2s}
1054-
if [ -s {wildcards.sample}/Aligned.sortedByCoord.out.bam ]; then
1055-
mv {wildcards.sample}/Aligned.sortedByCoord.out.bam {output};
1054+
if [ -s {wildcards.sample}/melAligned.sortedByCoord.out.bam ]; then
1055+
mv {wildcards.sample}/melAligned.sortedByCoord.out.bam {output};
10561056
fi
10571057
"""
10581058

0 commit comments

Comments
 (0)