-
Notifications
You must be signed in to change notification settings - Fork 30
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
VirSorter conda version not running #31
Comments
Hi, Did you have any error message when running "conda create --name virsorter -c bioconda mcl=14.137 muscle blast perl-bioperl perl-file-which hmmer=3.1b2 perl-parallel-forkmanager perl-list-moreutils diamond=0.9.14" |
Hi Simon, I did a fresh install of the conda environment and I'm still getting the following output: |
So the error is different now, it looks like the scripts used by VirSorter are not in your path. Did you follow these two steps in the installation: |
Hi Simon, Sorry about that - I did a fresh install of the conda environment again and am still getting the Error log: err.txt |
Can you double check if Bio::Seq is correctly installed in the conda environment ? This can be done by loading the environment and then trying to load only this module, e.g.:
If you get an error message, it means it's unfortunately an issue with conda, not VirSorter. |
Yes I still get the same error message:
I will try to find a fix and let you know here. |
Hi Simon, @gavinmdouglas in my lab found a fix for this:
And adding the following to my .bashrc file
Thanks for helping me locate the issue. |
I'm still surprised that conda couldn't install BioPerl by itself, but happy that you found a fix to this issue ! Best, |
More than a year later, I also had this issue with Conda and this post was very helpful! Though, I couldn't link to the perl files on my lab's server. Just in case other people have this issue, here's another solution by pulling the actual perl files from GitHub:
|
Thanks for sharing this tip ! |
Hi all, I also run into such an issue with bioperl and was able to solve it like this: conda create -n virsorter -c bioconda perl-bioperl-core=1.007002 virsorter=1.0.6 I hope that also helps others. cheers |
This one worked for me, thank you |
I solved the same problem recently, In my case, this problem occurs since the conda installed Bioperl into the "minicondaPath/pkgs/perl-bioperl-1.6.924-4" instead of "minicondaPath/envs/virsorter/lib/site_perl/5.26.2" even though the @inc is only include the "minicondaPath/envs/virsorter/lib/site_perl/5.26.2" Therefore, I solved the problem by adding the following commands into the #!/bin/sh I hope my solution is helpful to others. |
Thanks for sharing ! |
this one works for me thxthx |
Hi Simon,
Thanks for all your work on VirSorter. I'm having trouble running the command line version using a conda environment.
When putting in this command:
wrapper_phage_contigs_sorter_iPlant.pl -f V-MRN-001-12_scaffolds.fasta --db 2 --ncpu 4 --data-dir /home/casey/local/virsorter/virsorter-data
I get back the two files attached.
err.txt
VirSorter_terminal_output.txt
'Namely, in the err output, I get:
Can't locate Bio/Seq.pm in @INC (you may need to install the Bio::Seq module)
and
Error: Failed to open sequence file /home/casey/casey_backup/mareen/MAREEN_virome_all/concat_data/V-MRN-001-12_S21_R1_assembly/virsorter-out/fasta/VIRSorter_prots.fasta for reading
I've installed bioperl and metagenemark to try and fix these problems.
Do you have any other suggestions to get this to work? I would use CyVerse but have 100+ files to run in parallel on our cluster.
Thanks!
The text was updated successfully, but these errors were encountered: