BedLinePolicy
Mojo struct 🡭
BedLinePolicy
Section titled “BedLinePolicy”@register_passable_trivialstruct BedLinePolicyLine policy for BED files.
Skips:
- Blank lines
- Lines starting with ’#’
- UCSC ‘track …’ header lines
- UCSC ‘browser …’ directive lines
All other lines are yielded to the parser.
Implemented traits
Section titled “Implemented traits”AnyType, Copyable, Deinitable, ImplicitlyCopyable, LinePolicy, Movable, RegisterPassable, TrivialRegisterPassable
Methods
Section titled “Methods”classify
Section titled “classify”fn def classify(self, line: Span[UInt8]) -> LineActionArgs:
- self (
Self) - line (
Span[UInt8])
Returns:
LineAction