You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, SAMTOOLS_SORT is used twice with alias in the BISMARKworkflow, one is before and one is after deduplication. The sorted file before deduplication is saved, then the sorted file after deduplication is overwritten. This is because both files use identical filename after sorting due to the same prefix. This redundancy should be avoided by adding .deduplicated.sorted. for the latter.
Moreover, the overwritten file is written to the wrong folder /alignments/ instead of /deduplicated/.
The text was updated successfully, but these errors were encountered:
I want to extract deduplicated and sorted bam file from the pipeline by using the
Bismark
aligner.When I use
--save_align_intermeds
flag,SAMTOOLS_SORT
module writes the sorted bam file to the output directory as per this config:However,
SAMTOOLS_SORT
is used twice with alias in theBISMARK
workflow, one is before and one is after deduplication. The sorted file before deduplication is saved, then the sorted file after deduplication is overwritten. This is because both files use identical filename after sorting due to the same prefix. This redundancy should be avoided by adding .deduplicated.sorted. for the latter.Moreover, the overwritten file is written to the wrong folder /alignments/ instead of /deduplicated/.
The text was updated successfully, but these errors were encountered: