Extract Regions

ExtractRegions #

Extract from multiple fixed position regions.

[[step]]
    action = "ExtractRegions"
    regions = [
        {segment = "read1", start = 0, length = 8},
        {segment = "read1", start = 12, length = 4},
    ]
    label = "barcode"
    region_separator = "_" # (optional) str, what to put between regions, defaults to '_'

This transformation extracts multiple fixed-length regions from reads and concatenates them into a single tag, separated by the specified separator.