-
Notifications
You must be signed in to change notification settings - Fork 5
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
Cherry option with costum MAG collection #51
Comments
Hi there, It seems the program cannot reach your
Maybe you can check the path or provide more detailed information so that I can help. Best, |
I checked the path, but it seems fine. I used the absolute path of the folder. The files inside the /MAGs/ folder can be listed with ls.
...
Best, |
Ah, I think I found the problem. It seems your system does not have "Java" installed. It is a basic module/environment that is installed by default on almost all systems. So I did not list it in the guideline. You can find a proper package here that can be installed on your system. Best, |
Thank you, KennthShang for the fast feedback :) Indeed, my conda environment did not have "Java" installed.
Best, |
Ummmm, this should be an issue caused by the BLAST+ and I am also the first time to see this. Maybe you can show a screenshot of your let's check whether the CRISPRs.fa and the NCBI database files are generated correctly first. Best, |
The ...ARB_Cherry/midfolder/ contain the followings:
The CRISPR.fa containing the sequences:
The ...ARB_Cherry/midfolder/crispr_db contains:
So, it seems the CRISPRs.fa and the NCBI database files are generated correctly. |
Seems so, Then you can try to run the blast command directly and see what would happen:
|
I used the given command and got the same error message as previously: |
Then, let's try to rebuild the blast database and see whether it can work
If it still does not work, then maybe try:
And if still (I hope you do need to use this), maybe you need to reinstall the blast+. the version should be |
Thank you, KennthShang! It worked!
After, run the blast command directly:
Now the crispr_out.tab contains the results! :) |
Good to know! But it still seems strange why the program failed since the blastn can be run separately. Hope PhaBOX will not crush again on your system. Best, |
Indeed, it is a mystery :) Best, |
Ummmm, I mean when I use the onlymag mode, it works well on my systems and passes all the tests. So, not sure why. |
The above solution can raise the question of what is the next step to get the final results. I think the answer to that is complicated, and therefore it is necessary to look for other solutions. One solution can be to reinstall the whole environment manually. The developers give "Installing Phabox2 in primitive ways," which solves the problem with the Cherry analysis on custom MAG collection for me. Besides, the "java" is needed to install inside the environment. |
Hi KennthShang!
I wanted to ask about the --task cherry option. I would like to predict the hosts of my detected virus sequences using my own MAG collection. I used the following command for that:
phabox2 --task cherry --dbdir /path/to/databases/PhaBOX2_db/phabox_db_v2/ --outpth /path/to/Out_Cherry/ --contigs /path/to/Concatenated_phage_contigs.fasta --bfolder /path/to/MAGs/ --magonly Y --threads 40
However, I got the following error message:
The end_to_end options did the same if I used the --bfolder and --magonly Y options. Although if I used the given database for host prediction, the workflow worked properly.
Configuration:
phyton=3.10
PhaBOX=2.1.10 (latest)
Best,
Roland
The text was updated successfully, but these errors were encountered: