-
Notifications
You must be signed in to change notification settings - Fork 26
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
Updating databases in Galaxy #86
Comments
Hello @PHemarajata, this isn't currently supported in the Galaxy wrapper but I will look into adding this in the future. I can let you know how to do it by hand, but this requires you to run some commands to update the databases in the conda environment used by Galaxy. |
Specifically you could activate the conda environment for staramr However, note that any new genes added (or modified) will show up as |
I have a different question. In the Galaxy version we can modify settings of "Percent identity threshold for BLAST" and "Percent length overlap of BLAST hit for ResFinder database". How do you configure these in the command line version? |
Sorry I figured out myself. Another question. Can we use the --recursive option? |
I'm glad you were able to figure it out yourself. What do you mean by |
@apetkau Thank you for your reply.
Yes. Good to have that option when we are dealing with a lot of input files. |
@suzukimicro okay, I understand. There is no built-in way to recursively search for input files in a directory, but if you have the correct shell you can make use of shell wildcards to do exactly what you want. In particular, you can use the globstar option in bash. First you need to enable globstar: shopt -s globstar Then, to search for all files ending in staramr search -o output input/**/*.fasta Here your shell (bash) will expand staramr search -o output input-1/**/*.fasta input-2/**/*.fasta Other shells may have their own recursive wildcard expansions available. Alternatively you could likely use the staramr search -o output `find input/ -iname '*.fasta' -printf '%p '` This will search under the I hope this helps you out. |
@apetkau Thank you for your kind help. I could recursively input fasta files in folders, but somehow the resulting output folder included only hits, but no others such as results.xlsx and summary.tsv. I simply did the following command. Can you find the possible reasons?
|
Which version of staramr are you using ( |
@apetkau Thank you for your reply. |
@suzukimicro would it be possible to post the messages you do get here? I am uncertain as to what's going on. |
@apetkau Thank you for your reply. |
The fourth file made 'Predicted Phenotype' error. |
@suzukimicro when you say a 'Predicted Phenotype' error do you mean this error #115? If so, then the solution is to change the version of the |
@apetkau Thank you for your reply. |
That's great news @suzukimicro, getting closer to having all the files work. For the You should be able to check for this by using the
You can convert to unix-style line endings with
However, I don't know if this programs exist by default on a mac. |
@apetkau Thank you for your reply. |
The fasta files (for calculation) were shown as "ASCII text" by |
@suzukimicro I'm not really sure what the issue is then. If you look at the Without seeing the fasta file I don't think I can give much more for answers. |
@apetkau Thank you for your reply. |
Hi, I was wondering how I can update the databases used by the tool in Galaxy. Thank you!
The text was updated successfully, but these errors were encountered: