What is the fail_reads.bam file?

On the Revio platform, for each hifi_reads.bam there is one fail_reads.bam file. This file contains one representative read per ZMW. The ff tag encodes why each read ended up in this file:

Flag Description
0x1 CCS reads with predicted accuracy below QV 20.
0x2 Control CCS reads.
0x4 Single-stranded CCS reads.
0x8 The median full-length subread from molecules that do not produce a CCS read but have at least one full pass.
0x10 CCS reads which are a concatenation of the adapter, with possible short non-adapter sequence in between.
0x20 CCS reads with miscalled adapter which is enclosed by a sequence and its reverse complement, either spanning to the end.
0x40 CCS reads that have one or more adapters close to either end.

THIS WEBSITE AND CONTENT AND ALL SITE-RELATED SERVICES, INCLUDING ANY DATA, ARE PROVIDED "AS IS," WITH ALL FAULTS, WITH NO REPRESENTATIONS OR WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTIES OF MERCHANTABILITY, SATISFACTORY QUALITY, NON-INFRINGEMENT OR FITNESS FOR A PARTICULAR PURPOSE. YOU ASSUME TOTAL RESPONSIBILITY AND RISK FOR YOUR USE OF THIS SITE, ALL SITE-RELATED SERVICES, AND ANY THIRD PARTY WEBSITES OR APPLICATIONS. NO ORAL OR WRITTEN INFORMATION OR ADVICE SHALL CREATE A WARRANTY OF ANY KIND. ANY REFERENCES TO SPECIFIC PRODUCTS OR SERVICES ON THE WEBSITES DO NOT CONSTITUTE OR IMPLY A RECOMMENDATION OR ENDORSEMENT BY PACIFIC BIOSCIENCES.