Entering edit mode
10.0 years ago
bongbang
▴
90
From the example:
awk -c sam 'and($flag,4)' aln.sam.gz
How can I add and($flag,64)
as another criterion? None of the various syntaxes I tried works.
Thanks
That really should work, but it doesn't.
It would be really surprising if this did not work. Then why would the original
and($flag, 4)
work?I ran a test and the results look as expected:
Edit: actually I get a different result in this case: