-
Notifications
You must be signed in to change notification settings - Fork 45
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
./vpipe --dryrun error #80
Comments
Hello, I see you made this question almost a year ago but I´m having a similar issue: VPIPE_BASEDIR = /home/geninfo/msisco/V-pipe/workflow How did you solved it? Thanks Carol |
@carolinasisco: which version of Snakemake are you using? Upgrading to the latest one (v6.13.1) could already solve your issue. |
Hi, thank you for your reply. The snakemake version that was downloaded (following V-pipe installation manual) was 3.13.3. How can I upgrade it inside my V-pipe conda environment? Also I´m running a pipeline for SARS-CoV-2 but using a different reference than the one stated on V-pipe, besides the config and metainfo files, is there another scrip that will need to be modified? Again, thank you for your help |
Hi,
The wiki is saddly out-dated - it matches older version 1.x and 2.x of V-pipe - and is in the process of being deprecated. (We should add "Warning" boxes about that, but hadn't had time yet). More up-to-date example of installation include:
Note:
First make sure that all the relevant channels are enabled, you need conda-forge and bioconda, with a higher priority for the former: # set the channel precedence (lowest to highest)
conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge
# NOTE conda-forge *HAS TO* be higher than bioconda install mamba as this is now the conda package manager prefered by recent snakemake: conda install mamba now try updating snakemake: mamba update --no-pin snakemake warning: the no-pin allows to install also newer version of python, which might be required by more recent versions of snakemake, but might accidentally break other older package that you might have installed too.
Also of interest, once you have installed it, check the README.md in the config about how to configure it, and the latest documentation of the configuration format in config/config.html file in your local download (saddly, doesn't work online yet). Specifically for your use case, check the options that are listed in the sars-cov2.yaml virus configuration as an inspiration in what you might want to adapt to your case. |
Hi, I deleted the current install and re-installed it using the quick install script. However when running dry--run I get this error: Note that the samples file has been created and is located inside the workflow directory, it just seem that is not able to create the samples.tsv by checking the samples directory. |
It's subtle difference dur to the most recent recommanded behaviours for modern snakemake workflows (see here: https://snakemake.readthedocs.io/en/stable/snakefiles/deployment.html) - current recommendations are to put the TSV files in the If you're running a recent version of V-pipe (2.99.1 or master), out-of-the box V-pipe will follow these recommendations and look for the tsv file in If you prefere the older location ( See the section about the changes sine V-pipe 1.0/2.0 in the config's README.md. |
Hi, I keep getting this error: VPIPE_BASEDIR = /home/geninfo/msisco/V-pipe/workflow Any advice? thanks |
Hi, we have updated the config's readme section about the samples TSV to make more clear some problem that can arise if the read-length isn't correctly set. |
It's a problem when trying to validate your configuration. Usually, you'll get 'NoneType' when you have an empty entry. Something like: general:
virus_base_config:
# empty no value here
output:
snv: true
… in this example, section general property virus_base_config will be a NoneType as there is no value assigned to it. |
Usually, you'll get 'NoneType' when you have an empty entry Is there a way to fix it? Thank you for all your help |
I know we're on different timezones, but you could quick drop on the chat at: |
Hi all,
I run the above with own data but got :
(vpipe_env) ibseq:~/testing/work$ ./vpipe --dryrun
VPIPE_BASEDIR = /univ/ibseq/testing/V-pipe
AssertionError in line 68 of /univ/ibseq/testing/V-pipe/rules/common.smk:
ERROR: Line '13' does not contain at least two entries!
File "/univ/ibseq/testing/V-pipe/vpipe.snake", line 11, in
File "/univ/ibseq/testing/V-pipe/rules/common.smk", line 68, in
from https://cbg-ethz.github.io/V-pipe/tutorial/sars-cov2/
any advice?
thanks
ibseq
The text was updated successfully, but these errors were encountered: