Hi there! I know this was from a long time ago but I wanted to provide a potential solution in case someone stumbles across this post.
First, make sure MetaGeneAnnotator is correctly installed to your conda environment:
conda install --name virsorter -c bioconda metagene_annotator
Next, you want to make sure that the folder Bio is in one of the directories that are listed in the variable @INC. For example, I found Bio in the path /anaconda3/envs/virsorter/lib/perl5/site-perl/5.22.0/Bio and copied it to the directory /anaconda3/envs/virsorter/lib/site-perl/5.26.2/darwin-thread-multi-2level.
scp -r /anaconda3/envs/virsorter/lib/perl5/site-perl/5.22.0/Bio /anaconda3/envs/virsorter/lib/site-perl/5.26.2/darwin-thread-multi-2level/
This solution is outlined on the VirSorter GitHub: https://github.com/simroux/VirSorter/issues/74.
Could you provide the command that you used?
Maybe VirSorter can't handle .fna file?
I haven't used VirSorter but it seems that the protein creating step has failed therefore no VirSorter_prots.fasta can be found.
Could you run
https://github.com/simroux/VirSorter/issues/57
https://github.com/simroux/VirSorter/issues/3
I have checked with all possible ways, and checked with other files as well but end up getting the same error. The command which is used is:
And yes the files are totally fine, I am able to run
If you install it correctly and add the shortcuts you don't need to add perl. I haven't used VirSorter but sometimes using
python pyscript.pyand./pyscript.pygenerate different results. Maybe you can try ./wrapper instead of perl wrapper.By
head File.fnaI meant make sure you are using the correct input (assembly/contigs) and headers do not have special characters.And use
ls -sto make sure the paths to other files work. Also you can try providing the full path to the databases like the other user in this github issue link.https://github.com/simroux/VirSorter/issues/57