Extract IUPAC

ExtractIUPAC #

[[step]]
    action = "ExtractIUPAC"
    out_label = "mytag"
    anchor = 'Left' # Left | Right | Anywhere
    search = "CTN" # what we are searching
    segment = 'read1' # Any of your input segments

Search and extract a sequence from the read, defined by a IUPAC string.

If anchor = ‘Anywhere’, ExtractIUPAC will find the left most occurance.