Open iquasere opened 5 years ago
I would also be very interested in getting UltraQuant running. One of the issues with me is also mono. Does snakemake require a root installation of mono? I have a local installation of mono and can start MaxQuant in my mono/bin folder with: ./mono ~/MaxQuant/bin/MaxQuantCmd.exe mqpar.xml
with UltraQuant I get /bin/bash: mono: command not found
It does seem to require such root installation, since it is pointing to /bin/bash, you need a mono executable at /usr/bin. Maybe try
alias mono='/path/to/mono'
before running UltraQuant, which should work if the command constructor in UltraQuant doesn't explicitly contain the full path of mono.
thank you for your help! that worked, I added following to my .bashrc : export PATH="/myapps/mono/bin/:$PATH"
now I am having an issue with the singularity command. I have asked our admin to install it globally since this comman wasn't found either. Now I get following error somewhere in my local Conda installation. Do you have an idea why this is? Was it actually necessary to install singularity or is it included in snakemake? Then I propably have to specify the path as well? thank you!
/myapps/UltraQuant> snakemake --snakefile UltraQuant.sm --configfile config.yaml --cluster "qsub -j y -N 'myjob.{params.J}' -pe openmpi {params.n} -l h_rt=604800" --jn {rulename}.{jobid}.sj -j 50 -k --latency-wait 60 --use-singularity Building DAG of jobs... Traceback (most recent call last): File "/myapps/Conda/lib/python3.6/site-packages/snakemake/init.py", line 544, in snakemake export_cwl=export_cwl) File "/myapps/Conda/lib/python3.6/site-packages/snakemake/workflow.py", line 566, in execute quiet=list_conda_envs) File "/myapps/Conda/lib/python3.6/site-packages/snakemake/dag.py", line 201, in pull_singularity_imgs img = singularity.Image(img_url, self) File "myapps/Conda/lib/python3.6/site-packages/snakemake/singularity.py", line 31, in init if not LooseVersion(v) >= LooseVersion("2.4.1"): File "/myapps/Conda/lib/python3.6/distutils/version.py", line 70, in ge c = self._cmp(other) File /myapps/Conda/lib/python3.6/distutils/version.py", line 337, in _cmp if self.version < other.version: TypeError: '<' not supported between instances of 'str' and 'int'
This is very odd, since the mistake you are getting concerns the snakemake files themselves. The mistake seems simple, since it is comparing the values of "self.version" and "other.version", one of which is a string and the other is an integer. This leads me to think snakemake is not properly installed, and should be reinstalled. First, try
conda install -c bioconda snakemake
and if it claims to have already installed snakemake, first explicitly remove it and then install it.
conda remove snakemake
conda install -c bioconda snakemake
After this, you'll probably go through the same problems that I have, and for which I still have no working solution. I know barely anything about snakemake and mono.
thanks a lot! That helped! I feel I am getting closer. Now I can continue with the next issue :)
Building DAG of jobs... Pulling singularity image docker://mono:5.16.0.226. WorkflowError: Failed to pull singularity image from docker://mono:5.16.0.226: WARNING: Authentication token file not found : Only pulls of public images will succeed INFO: Starting build... FATAL: Unable to pull docker://mono:5.16.0.226: conveyor failed to get: Error reading manifest 5.16.0.226 in docker.io/library/mono: manifest unknown: manifest unknown
You didn't happen to get this as well?
Best
edit: solved it, thank you
Hello iquasere,
I'm having the same issue you were having last year. I've tried running snakemake with the --use-singularity --singularity-args
flags, but snakemake is unable to recognize them. Were you ever able to find a solution?
edit- I'm not using snakemake for the same tool that you are, if that matters at all
Hello stjacqrm,
I never walked outside of first steps with UltraQuant, and never found a workaround for this issue. Pillepalle, however, seems to have beaten the issues concerning UltraQuant, and as such, might have solved my problem as well.
Thanks!
I'll take a look at their solutions to see if I can make it work!
Greetings
I have started trying to use UltraQuant, but since I have never worked with snakemake, and barely with mono and docker, I have encountered some problems that I haven't been able to solve.
First, it seems that the example command of snakemake makes use of arguments no longer available.
After removing such arguments, it is capable of proceeding to run the snakemake script, but fails.
This line refers to
which I promptly changed to
Still, it fails.
My question is if you have encountered this problems, and if so is there a new version of this tool? Because it looks like a slick tool.