Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clustal_options variable for filter_seqs #34

Open
alexpiper opened this issue Mar 10, 2019 · 2 comments
Open

clustal_options variable for filter_seqs #34

alexpiper opened this issue Mar 10, 2019 · 2 comments

Comments

@alexpiper
Copy link

Hi PrimerTree developers,

I've come across a slight annoyance with the filter_seqs function, where if you have a custom clustal omega installation you will get an error:

Error in system(paste(exec, "--help"), intern = TRUE) : 'clustalo' not found

I have resolved this by moving the clustal omega installation files to the R working directory, but for cleanliness it would be nice to be able to provide a clustal_options = c(exec='filepath') variable, similar to as implemented in search_primer_pair.

Thanks for your work developing this handy little package!
Regards,
Alex

@jimhester
Copy link
Collaborator

Mainly the only change needed here would be to pass ... to the custalo() call in https://github.com/jimhester/primerTree/blob/018e066ee33fd71e0a39a0045c19c2dec9c0a8d0/R/filterResults.R#L39

@ucbtmae
Copy link

ucbtmae commented May 18, 2021

Hello @jimhester hope everything's going alright!
I'm in the final steps of using the pipeline, but I also have come across the issue with the filter_seqs function. I have clustal omega installed and it works perfectly with search_primer_pair (with the help of the clustal_option) but when trying to filter out some undesired sequences from the primerTree object it returns the following message:
"Error in system(paste(exec, "--help"), intern = TRUE) : 'clustalo' not found"
I even have tried by using setwd to work directly in the clustal omega path but no success.
Do you have a suggestion of how to tackle this issue?
@alexpiper How did you manage to solve the issue? I am working in a Macbook, intel version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants