Skip to content

Add read_length() to ShortRead type #126

@unode

Description

@unode

This was something that was requested in an offline discussion.

Given a Fastq file with variable read length (e.g. after preprocessing):

mapped = select(mapped) using |mr|:
    mr = mr.filter(min_match_size={read_length}, action={drop})
    if not mr.flag({mapped}):     ^^^^^^^^^^^^^
        discard

here {read_length} could be mr.read_length().

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions