Class CramContainerHeaderIterator

  • All Implemented Interfaces:
    Iterator<Container>

    public class CramContainerHeaderIterator
    extends CramContainerIterator
    Iterate over CRAM containers from an input stream, and unlike CramContainerIterator only the header of each container is read, rather than the whole stream. As a result, the container block data is *not* populated, including the compression header block and slices. This class is useful when you are not interested in the contents of containers, for example when indexing container start positions.