You can use a header to get the corresponding sequences with that header. If multiple sequences have the same header, the function returns all those sequences.
Get the sequences with the header B7_591:4:96:693:509.
Object containing the read data, specified as a BioRead or BioMap object.
Example: bioreadObj
subset — Subset of elements in object vector of positive integers | logical vector | string vector | cell array of character vectors
Subset of elements in the object, specified as a vector of positive integers, logical vector,
string vector, or cell array of character vectors containing valid sequence
headers.
Example: [1 3]
Tip
When you use a sequence header (or a cell array of headers) for subset, a
repeated header specifies all elements with that header.