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
Is there a way to use samtools style (i.e. decimal) filter expressions with sambamba? I expected that it would be supported (given that the human-readable version is surely built on top of it). I'm having to use massive command lines to do filtering and would rather use a four-digit decimal.
If you could point me towards the relevant manual page I've missed or let me know if it's possible that'd be great. The sort+filter operation is fantastic, and I'd love to keep using it, but without a flag->filter converter or a way to just use the flag I think I'll have to switch to samtools for this project.
The text was updated successfully, but these errors were encountered:
Hi, this functionality was indeed missing. I've just added a new option --num-filter, which should be provided a string such as 96, /4 or 80/4 with meaning <-f samtools flag>/<-F samtools flag>.
pjotrp
pushed a commit
to pjotrp/sambamba
that referenced
this issue
Dec 13, 2016
accepts string argument of form 'int', 'int1/int2' or '/int2'
with meaning that int1 bits must be set in the flag and int2 bits
must be unset (as in samtools -f/-F)
Is there a way to use samtools style (i.e. decimal) filter expressions with sambamba? I expected that it would be supported (given that the human-readable version is surely built on top of it). I'm having to use massive command lines to do filtering and would rather use a four-digit decimal.
If you could point me towards the relevant manual page I've missed or let me know if it's possible that'd be great. The sort+filter operation is fantastic, and I'd love to keep using it, but without a flag->filter converter or a way to just use the flag I think I'll have to switch to samtools for this project.
The text was updated successfully, but these errors were encountered: