nanxstats / Rcpi

💊 Molecular informatics toolkit with integration of bioinformatics and cheminformatics tools for drug discovery
https://nanx.me/Rcpi/
Artistic License 2.0
37 stars 12 forks source link

Resolve `pairwiseAlignment()` early and consistently #26

Closed nanxstats closed 3 months ago

nanxstats commented 3 months ago

This PR is a follow-up patch for #23.

It adds resolve_pwa() to the top of each function that ultimately uses pairwise alignment. If the dependency conditions can't be met for Biostrings or pwalign, the error will stop the call early instead of being put into the computational results.