Closed cjuigne closed 4 years ago
Hi,
thank you for trying FROGS.
I never used docker, and it seems that the very basic linux command ps -o pid,cpuid
is the one that is not working in your docker environment.
I am not sure that I will be able to help you more with that...
The deployment of your docker environment is automatic ? I mean it download FROGS and install all dependencies each time you launch it ? In the next release, we remove this part in the code because it as some other consequences in other environment like SLURM. So if it's not automatic, you could do the same change
So line 171 in /usr/local/share/FROGS-3.1.0/app/affiliation_OTU.py :
"taskset -c " + self._get_cpu_id() + " java -Xmx" + str(memory) + "g -jar ##PROGRAM## classify -c 0.0 -t " + ref + ".properties -o " + output + " " + query_fasta,
become :
" java -Xmx" + str(memory) + "g -jar ##PROGRAM## classify -c 0.0 -t " + ref + ".properties -o " + output + " " + query_fasta,
This is not a very nice solution to change your self the FROGS code, but I don't know what else to tell you since I don't know technically docker.
Hope this will solved your problem
Maria
Hello Maria,
Yes, Docker packages an application and its dependencies in an isolated container, this allows to run the tool on any server without having to install all its dependencies. So yes the deployment is automatic but I can change files inside the container.
I changed /usr/local/share/FROGS-3.1.0/app/affiliation_OTU.py
just like you said and it solved my problem !
Maybe, when the FROGS conda package updated it could work !
Thank you for your help !
Camille
Hi! I'm trying to use FROGS from the Docker container (https://bioconda.github.io/recipes/frogs/README.html) But when I want to verify everything works I get this issue :
Could you help me with that? Thank you!