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
Dorado aligner output is sorted by default (#642) but some tools may require alignments to be at random order, i.e. unsorted. As far as I could see, this is the case when the output is directed to stdout rather than an output folder:
However, the alignment_summary.txt file also has valuable information but it won't be created unless the output is directed to a folder. To break this mutual exclusivity, one can perhaps add a command line argument to disable sorting alignments, basically overriding the code above.
My current workaround is using samtools collate to "shuffle" the alignments but it means unnecessary compute.
The text was updated successfully, but these errors were encountered:
Hi @cihanerkut, thanks for your post. To help us better understand your request, could you please specify which tools you’re using that require shuffled alignments?
An alternative solution could be to allow dorado aligner to write alignment_summary.txt in an arbitrary path provided as a command line argument and BAM output sent to stdout, unsorted.
Dorado aligner output is sorted by default (#642) but some tools may require alignments to be at random order, i.e. unsorted. As far as I could see, this is the case when the output is directed to stdout rather than an output folder:
dorado/dorado/cli/aligner.cpp
Lines 276 to 277 in 9dc15a8
However, the
alignment_summary.txt
file also has valuable information but it won't be created unless the output is directed to a folder. To break this mutual exclusivity, one can perhaps add a command line argument to disable sorting alignments, basically overriding the code above.My current workaround is using
samtools collate
to "shuffle" the alignments but it means unnecessary compute.The text was updated successfully, but these errors were encountered: