Open parsboy66 opened 7 months ago
I think you have to set a bash environment variable called CADD.
I think you have to set a bash environment variable called CADD.
Hi , thank you , Well it solved the last problem ,and now there is another issue, seems strange, doesnt it? do i need to define other variables? related to prescore and annotations?
appreciate it in advance for any helps.
Imn
Not sure what is going on. Looks like that an input file is missing: here CADD-scripts/test/input.novel.vcf.gz
Make sure that this is available especially due to relative paths... Should be in the directory where you run the command.
I think issue #64 is related. I created a small patch (#65). Can you try it again with the latest master branch?
I think issue #64 is related. I created a small patch (#65). Can you try it again with the latest master branch?
I could install and run cadd 1.6 successfully , problem is with cadd 1.7, mmsplice env can not be created successfully. ill git it a try and let you know
This seems to be a common issue (e.g. see #54). But we cannot update the mmpsplilce version because than it will be different mmsplice scores resulting in different raw scores that differ from the whole genome file and so on. So we are a bit lost in that case.
One possibility might be that we wrap our internal conda environment into a container and provide that for the rule. I have to discuss that internally and (more trucky) find the time to do it :-)
I think issue #64 is related. I created a small patch (#65). Can you try it again with the latest master branch?
I tried this, But the error still presists.
This seems to be a common issue (e.g. see #54). But we cannot update the mmpsplilce version because than it will be different mmsplice scores resulting in different raw scores that differ from the whole genome file and so on. So we are a bit lost in that case.
One possibility might be that we wrap our internal conda environment into a container and provide that for the rule. I have to discuss that internally and (more trucky) find the time to do it :-)
could you please get the .yml file out of your conda container and share it ?
That solves this issue mostly but... what about the error that was faced after fixing the mmsplice error? the "snakemake uses strict bash mode" when we run the test/input.vcf.gz how do we fix that?
lets do it stepwise, solving the first one and then we will move to the other one to find a way 🙂
From: raghvendra44 @.> Sent: Monday, April 29, 2024 9:38 AM To: kircherlab/CADD-scripts @.> Cc: Iman Nazari @.>; Author @.> Subject: Re: [kircherlab/CADD-scripts] CADD v1.7 on Docker (Issue #60)
That solves this issue mostly but... what about the error that was faced after fixing the mmsplice error? the "snakemake uses strict bash mode" when we run the test/input.vcf.gz how do we fix that?
— Reply to this email directly, view it on GitHubhttps://github.com/kircherlab/CADD-scripts/issues/60#issuecomment-2082165443, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHDC2FMAQ7Z6MLFD7NXWXU3Y7YBJ7AVCNFSM6AAAAABFJGSHR2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBSGE3DKNBUGM. You are receiving this because you authored the thread.Message ID: @.***>
I released a new CADD-scripts version v1.7.1. Maybe you try that one. Now it is recommended to use apptainer/singularity and all environments are packed within a container and no conda builds are needed (container is 17GB large). You also need now snakemake 8.
Also I updated the environments. So If you use mamba/conda instead I hope you will not face the issues you had above
I released a new CADD-scripts version v1.7.1. Maybe you try that one. Now it is recommended to use apptainer/singularity and all environments are packed within a container and no conda builds are needed (container is 17GB large). You also need now snakemake 8.
Also I updated the environments. So If you use mamba/conda instead I hope you will not face the issues you had above
Thnks for the hard work. ill give it a shot and keep you in loop
Thanks for your help. I tried to resolve the problems regarding local dependencies (using -m) but still run into the issues mentioned previously https://github.com/kircherlab/CADD-scripts/issues/63. When using the default apptainer option, I encounter the error:
CreateCondaEnvironmentException: Conda must be version 24.7.1 or later, found version 24.3.0. Please update conda to the latest version. Note that you can also install conda into the snakemake environment without modifying your main conda installation.
Everything is installed according to the readme, and my local mamba/conda version is 24.9.0. Am I using the apptainer feature incorrectly? Thank you
Hi there ,
regarding the new version of CADD v1.7 installation on docker, i have faced a problem " The following environment variables are requested by the workflow but undefined. Please make sure that they are correctly defined before running Snakemake: 0.802 CADD " when i try to install it on docker.
previous version perfectly could be installed , but new one i can not. i will appreciate it if you offer me any suggestions? hints?
snakemake version i use is v.7 and FROM mambaorg/micromamba:1.5.8
full error: RUN cd /opt && curl -L https://github.com/kircherlab/CADD-scripts/archive/refs/tags/v1.7.tar.gz | tar xz && cd CADD-scripts-1.7 && ln -s CADD.sh cadd.sh 1.1s => ERROR [5/5] RUN cd /opt/CADD-scripts-1.7 && snakemake -j 1 test/input.tsv.gz --use-conda --conda-create-envs-only --conda-prefix envs --configfile config/config_GRCh38_v1.7.yml --snakefile Snakefile 0.8s
########################################################################## if i just create docker without CADD and then entering the docker image and installing CADD by ./install and then commit it in new image it wseems it works , but i have faced new error, (i have all folders in /usr/bin and all are bind to the annotation on my pc) but it seems CADD can not find some files. MissingInputException in rule annotate_esm in file /usr/bin/Snakefile, line 123: Missing input files for rule annotate_esm: output: /tmp/tmp.9DnBOrJwwP/input.esm_missens.vcf.gz, /tmp/tmp.9DnBOrJwwP/input.esm_frameshift.vcf.gz, /tmp/tmp.9DnBOrJwwP/input.esm.vcf.gz wildcards: file=/tmp/tmp.9DnBOrJwwP/input affected files: data/annotations/GRCh38_v1.7/esm/esm1v_t33_650M_UR90S_1.pt data/annotations/GRCh38_v1.7/esm/esm1v_t33_650M_UR90S_5.pt data/annotations/GRCh38_v1.7/esm/esm1v_t33_650M_UR90S_2.pt data/annotations/GRCh38_v1.7/esm/esm1v_t33_650M_UR90S_4.pt data/annotations/GRCh38_v1.7/esm/esm1v_t33_650M_UR90S_3.pt data/annotations/GRCh38_v1.7/esm/pep.110.fa
Thanks