Class ReadsBundle<T extends IOPath>

java.lang.Object
htsjdk.beta.io.bundle.Bundle
htsjdk.beta.plugin.reads.ReadsBundle<T>
Type Parameters:
T - The type to use when creating a ReadsBundle new IOPathResources for a ReadsBundle. Note that resources that are put into a ReadsBundle using the {ReadsBundle(Collection)} constructor may have tIOPathResources that do not conform to this type.
All Implemented Interfaces:
Serializable, Iterable<BundleResource>

public class ReadsBundle<T extends IOPath> extends Bundle implements Serializable
A class for creating a Bundle for reads and reads-related resources. A ReadsBundle has a primary resource with content type BundleResourceType.CT_ALIGNED_READS; and an optional index resource. ReadsBundles can also contain other resources. ReadsBundle is primarily a convenience layer for the common case where a Bundle contains reads and related resources backed by IOPathResources. It provides convenient constructors, and validation for JSON interconversions. For reads sources that are backed by streams or other BundleResource types, the Bundle and BundleBuilder classes can be used directly.
See Also: