ConvertRegionsToLength #
Turn region tags (such as those produced by ExtractRegion/ExtractRegions) into numeric length tags.
[[step]]
action = "ExtractRegion"
out_label = "adapter"
segment = "read1"
start = 0
len = 12
[[step]]
action = "ConvertRegionsToLength"
out_label = "adapter_len"
in_label = "adapter"
- The new tag stores the total span (in bases) covered by all regions on each read.
- Reads without the source tag receive a length of
0. labelmust be different fromregion_label; the step keeps the original region tag.