It looks like you're new here. If you want to get involved, click one of these buttons!
A new tool has been released!
Check out the documentation at UnmappedReadFilter.
I want to know how to use these tools ,so where to find such a example?
See point 5 of this article:
Geraldine Van der Auwera, PhD
Is there documentation available for this tool yet? I assume it filters on the basis of samflags, but if so, which ones (for instance, does it filter PE reads differently from SE ones)?
Sorry, we're still a bit behind on documenting the read filters. Basically this uses the samflags, as you guessed. We use samtools' own code to parse the flags, so there's a one-to-one match between samflags-based read filters and the flag explanations (with flag value) given here: http://picard.sourceforge.net/explain-flags.html
For more detailed info on the samflags and whether PE and SE are treated differently or not, you should look into the samtools documentation.