RIVM-bioinformatics / AmpliGone

A tool in order to accurately remove primer sequences from NGS reads in an amplicon experiment
https://rivm-bioinformatics.github.io/AmpliGone/
GNU Affero General Public License v3.0
13 stars 0 forks source link

Use reference-specific primer coordinates #72

Closed florianzwagemaker closed 1 year ago

florianzwagemaker commented 1 year ago

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