-
Notifications
You must be signed in to change notification settings - Fork 44
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
drop demo not working #107
Comments
Thanks for pointing that out. It should be fixed now, if you redownload your demo. |
I tried reinstalling drop conda and running 'drop demo' in a new directory, but I'm getting the same error. |
I couldn't reproduce the error. Which config files does your |
I have these files in the Data directory: -rwxrwx--- 1 evrong01 evrong01 47M Nov 19 2019 chr21.fa |
Ok, the files seem to be fine. |
Or maybe some of the files can't be read. Could you double-check to see if you have proper permissions to the files in the config? |
Here is the config.yaml made by 'drop demo'. And below that is the error. dropdemo]$ cat config.yaml root: Output aberrantExpression: aberrantSplicing: mae: tools: Here is the error again. It is the same error: File "/gpfs/share/apps/python/cpu/3.6.5/lib/python3.6/site-packages/pathlib-1.0.1-py3.6.egg/pathlib.py", line 320, in resolve |
As the error occurs when converting relative paths to absolute paths using By default, when I install the environment I get python 3.6.11. You might not be using your conda environment but a different instance of python. If you are using the conda environment, try updating python and see if it solves the problem. |
I just checked and the drop conda environment python is 3.6.11. Is it possible your fix yesterday did not get pushed to the conda repository? |
The fix I made was not in the code base but rather in the downloadable demo input. It was fine, as the correct files are present in |
I just noticed that the python prefixes were different from one of your other git issues, so I was assuming you changed which python you were using |
Ah no, I see that they are the same.Still puzzled where this error comes from |
When creating a new project, you will have to fill in the file paths by hand anyway, and this problem is specific to the convenience function of drop demo. The strange thing is that this part of the code did not cause any errors before and I cannot reproduce it. So it is very difficult for me to find the cause. I suggest, in order to get it running, you should fill in the absolute paths to in the |
Ok, I manually created the Output and Output/html directories. Then I ran drop demo, and now it creates the project. Then I ran snakemake -n but I get a new error: |
This is the config.yaml now in the demo directory. Seems that the demo itself is broken. projectTitle: Detection of RNA Outlier Pipeline
|
there is an error when drop tried to install r packages. However, you should already have all the necessary R packages in your environment. Please make sure you're using the correct R path, libPath of the env |
I'm using the correct libPath, but it is still not working.
|
Also, note this problem will happen to everyone, because conda by default sets the .libPaths() to first have the local R library, not the conda R library. To fix this, you need to add a script in conda activate.d to set $R_LIBS to the conda R library. Regardless, the drop demo error is still happening. |
I can't reproduce this error on a virtual machine (travis) or in a docker image (continuumio/miniconda3). There's probably something specific to your system that causes issues with linking conda to its R. I'd suggest checking out other resources to troubleshoot this problem. |
Hi, The command 'drop demo' in the latest conda version of drop is giving this error:
resource/dna_vcf/ALL.chr21.phase3_shapeit2_mvncall_integrated_v5a.20130502.genotypes.exome.vcf.gz.tbi
resource/dna_vcf/demo_chr21.vcf.gz.tbi
resource/dna_vcf/demo_chr21.vcf.gz
resource/dna_vcf/ALL.chr21.phase3_shapeit2_mvncall_integrated_v5a.20130502.genotypes.exome.vcf.gz
resource/external_geneCounts.tsv.gz
resource/hpo_genes.tsv.gz
Traceback (most recent call last):
File "/gpfs/home/evrong01/evronylab/bin/drop-conda/bin/drop", line 10, in
sys.exit(main())
File "/gpfs/share/apps/python/cpu/3.6.5/lib/python3.6/site-packages/click/core.py", line 829, in call
return self.main(*args, **kwargs)
File "/gpfs/share/apps/python/cpu/3.6.5/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/gpfs/share/apps/python/cpu/3.6.5/lib/python3.6/site-packages/click/core.py", line 1259, in invoke
return process_result(sub_ctx.command.invoke(sub_ctx))
File "/gpfs/share/apps/python/cpu/3.6.5/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/gpfs/share/apps/python/cpu/3.6.5/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/gpfs/home/evrong01/evronylab/bin/drop-conda/lib/python3.6/site-packages/drop/cli.py", line 87, in demo
dict[key] = str(pathlib.Path(dict_[key]).resolve())
File "/gpfs/share/apps/python/cpu/3.6.5/lib/python3.6/site-packages/pathlib-1.0.1-py3.6.egg/pathlib.py", line 1034, in resolve
File "/gpfs/share/apps/python/cpu/3.6.5/lib/python3.6/site-packages/pathlib-1.0.1-py3.6.egg/pathlib.py", line 320, in resolve
if newpath in seen:
File "/gpfs/share/apps/python/cpu/3.6.5/lib/python3.6/site-packages/pathlib-1.0.1-py3.6.egg/pathlib.py", line 305, in _resolve
accessor = path._accessor
File "/gpfs/share/apps/python/cpu/3.6.5/lib/python3.6/site-packages/pathlib-1.0.1-py3.6.egg/pathlib.py", line 398, in readlink
lstat = _wrap_strfunc(os.lstat)
FileNotFoundError: [Errno 2] No such file or directory: '/gpfs/scratch/evrong01/dropdemo/Output'
The text was updated successfully, but these errors were encountered: