This replaces the single (giant) forward and reverse set of primer coordinates (FWList & RVList) that was used previously. Now two dictionaries are used (forward and reverse), keyed by ReferenceID and containing a set of primer-coordinates as value.
The correct set of primer-coordinates is then used by looking up which ReferenceID a read maps to and only using the corresponding primer coordinate set from that reference in the downstream read-cutting process
This replaces the single (giant) forward and reverse set of primer coordinates (
FWList
&RVList
) that was used previously. Now two dictionaries are used (forward and reverse), keyed by ReferenceID and containing a set of primer-coordinates as value.The correct set of primer-coordinates is then used by looking up which ReferenceID a read maps to and only using the corresponding primer coordinate set from that reference in the downstream read-cutting process