VirSorter icon indicating copy to clipboard operation
VirSorter copied to clipboard

Impossible to install Pfam to target location

Open SilasK opened this issue 6 years ago • 3 comments

Sorry, I'm frustrated after some time debugging Virsorter.

Virsorter depends on a outdated version of Pfam. I can download it but apparently Virsorter requires it to be at /Pfam_27/which I don't have acces.

By the way: MGA can be installed using conda but needs to be renamed.

SilasK avatar Nov 17 '18 06:11 SilasK

Hi Silas, Are you trying to run VirSorter through the Docker container or via cloning from GitHub + custom Conda environment ? If the latter, there is an option called "--data-dir" where you can provide a path to a folder including PFAM. This should look something like:

./wrapper_phage_contigs_sorter_iPlant.pl ... your other options ... --data-dir /path/to/dbs/

Then in the folder /path/to/dbs/ VirSorter will expect:

  • a folder "PFAM_27/" with two files, Pfam-A.hmm and Pfam-B.hmm
  • the files and folders from "virsorter-data-v2.tar.gz"

simroux avatar Nov 17 '18 16:11 simroux

Yea I use virsorter in a conda environment, I specified the datadir where I downloaded the vrsorter data v2.

If I understand the error message correctly virsorter was looking for /Pfam_27 (root/Pfam_27) which is only possible in the docker.

SilasK avatar Nov 19 '18 15:11 SilasK

The error message is weird, and doesn't seem to be accurate (sorry). VirSorter expects Pfam to be in the same directory as the virsorter data v2, in its own subfolder called "PFAM_27". Could you test this and check if it works better ?

simroux avatar Nov 19 '18 23:11 simroux