broadinstitute / adapt

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

Use predictive model of activity #15

Closed haydenm closed 4 years ago

haydenm commented 4 years ago

This adds a module, adapt.utils.predict_activity, that reads and calls a trained model of guide-target activity. It also includes changes to construct_guide() to use this module so that the only guides output are those predicted to be highly active against their intended targets (according to a threshold defined in adapt.utils.predict_activity). Using this is optional and can be set with the --predict-activity-model-path argument to design.py.