Open Milia1368 opened 7 months ago
My apologies, I missed this issue. The SNV IDs don't look right, and the base at the sites is the reference base ("T" is the reference allele at chr6:31694708 in GRCh38). Does this work with a later version of PAV? If so, send me the error and I'll track it down.
I was using the latest version on docker, which is v2.3.4. To use your latest 2.4.1 code, I need to run it from code. But there is no runlocal nor rundist under the pav directory, which are written in the NATIVE_INSTALL.md. Seems there are some changes. How am I supposed to run the latest code?Any advice you can offer would be greatly appreciated.
2.4.1 is on Docker: https://hub.docker.com/r/becklab/pav/tags
You should be able to run this from Docker.
If you haven't run a native version of PAV, you'd have to install a whole environment with Python, Snakemake, and dependencies and run snakemake
directly. The rundist and runlocal went away recently, they are no longer needed. Instead, a profile is distributed with PAV, which can be run with Snakemake directly. For example, to distribute over Slurm (20 simultaneous jobs): snakemake -j 20 --profile profiles/default --executor slurm
. This requires Snakemake with the Slurm executor installed.
Turns out I was using singularity library instead of docker hub, BTW, the singularity library seems has the version 2.3.4 as the latest. But there are still problems. Whether I use singularity to run the 2.4.1 image on docker hub, or I run docker to run the 2.4.1 image, I get the same error:
ModuleNotFoundError in file /opt/pav/Snakefile, line 53:
No module named 'joblib'
File "/opt/pav/Snakefile", line 53, in <module>
File "/opt/pav/pavlib/__init__.py", line 7, in <module>
File "/opt/pav/pavlib/align/__init__.py", line 3, in <module>
File "/opt/pav/pavlib/align/align.py", line 6, in <module>
File "/opt/pav/pavlib/seq.py", line 16, in <module>
File "/opt/pav/dep/svpop/svpoplib/__init__.py", line 24, in <module>
File "/opt/pav/dep/svpop/svpoplib/svmerge.py", line 7, in <module>
Furthermore, FYI, if I run docker instead of singularity, I need to bind another volume "/.cache" to the container to get the image running:
mkdir .cache
sudo docker run --rm -v ${PWD}:${PWD} -v ${PWD}/.cache:/.cache --user "$(id -u):$(id -g)" --workdir ${PWD} becklab/pav:latest -c 16
Could you offer any advice? I would be greatly appreciated.Thanks!
I need to build joblib into the container, working on that this week.
Testing now, it will be released in v2.4.2 once tests complete. I'll update this ticket when it's available.
I am temporarily releasing 2.4.1.2. I want to do more testing before I call it a stable release (any PAV version with a fourth number is a development version). It's out now if you want to try it. I expect 2.4.2 this week or next (it's going to be a busy week).
Hello, I encountered into some problems while using this tool from Docker to call SV from assembly-hap and I tried many times and still couldn't make it. If you can give me some suggestions, I'd appreciate it! The commands and configuration files are listed below:
\time -v singularity run --bind "/data,$(pwd):$(pwd)" library://becklab/pav/pav:latest -c 16 > run.log 2>&1 &
And part of run.log is as follows: The begain:Error:
The final:
Thanks!