broadinstitute / adapt

A package for designing activity-informed nucleic acid diagnostics for viruses.
MIT License
29 stars 2 forks source link

Search simultaneously for primers and guides between those #7

Closed haydenm closed 5 years ago

haydenm commented 5 years ago

This adds functionality to design, at the same time, primers that bound an amplicon and guides between those primers. The amplicon length can be variable (not a fixed window length, in contrast to previous usage). Primer design is done in the primer_search module and combined primer+guide design is done in the target_search module. The combined search operates according to a specified cost function, and finds and outputs the best N targets based on cost.

There are now two commands in design_guides.py: guides-from-sliding-window and complete-targets. The first does what design_guides.py had previously done: output guides within each window of a fixed width. The second provides the new functionality, outputting both primers and guides.