Module libradicl::rad_types

source ·

Structs§

  • The below are currently hard-coded until we decide how to solve this generally
  • This type represents a mapping from TagDescs to a corresponding set of values conforming to these descriptions (i.e. in terms of types). The TagMap allows you to fetch the value for a specific tag by name or index, or to add values to a corresponding set of descriptions.
  • A TagSection consists of a series of TagDescs that are logically grouped together as tags for a specific unit

Enums§

  • Encodes the orientation of a mapped fragment. If the fragment is a single-end mapping (or orphan), then there are only 2 possible orientations, while for paired and mapped reads, there are 4 possible orientations. Finally, this enum can also represent an “Unknown” orientation.
  • Represents the manner in which a fragment (read or read pair) may map to a target. This type does not encode orientation, but rather the mapping status.
  • This type represents any non-aggregate RadType, differentiating between an Int, Float, Bool and String types. Each Int and Float type contains a further description of the width of that type as a RadIntId.
  • The top-level enum representing the different types that can be encoded in the tag system.
  • This enum holds the different values that can be represented in a RAD tag. For the aggregate (i.e. array) types, the type of the element being stored in the array is encoded in the TagValue variant, but the length of the array is not.

Traits§

Functions§