Open loraine-gueguen opened 4 years ago
Hi Loraine,
@olivierrue told me that you have some trouble with tree.py.
I never had isue with MAFFT or tree.py and what you suggest seems weird to me, because all other tools works like that with stderr redirection to a file.
We changed stderr = "/dev/null"
by stderr = tmpFiles.add("mafft.stderr")
because other developper asked to for better debuging, so I am not very happy to change it back.
I will try to reproduce your problem but I am afraid I will not be able to do it before your training next week.
Could you precise me what version of MAFFT conda installed ?
I am not very happy to change it back
sure
I am afraid I will not be able to do it before your training next week.
No problem, I have edited the file manually to make it work properly for next week.
Could you precise me what version of MAFFT conda installed ?
v7.407 (2018/Jul/23), within the __frogs@3.1.0 conda env
copy to @lecorguille
It seems to be a problem from our galaxy server, and not from frogs. The galaxy user account cannot write into /dev/stderr
:
(__frogs@3.1.0) [galaxy4frogs@galaxy4frogs ~]$ mafft --maxiterate 1000 --globalpair --thread 1 /w/galaxy/galaxy4frogs/galaxy-dist/database/files/017/dataset_17743.dat > /tmp/mafft.txt
/w/conda/galaxy4frogs/_conda/envs/__frogs@3.1.0/bin/mafft: line 2348: /dev/stderr: Permission denied
so, as others, you are interested in the "new" stderr redirection into stderr = tmpFiles.add("mafft.stderr")``, no ?
I am not shure to understand whether you solved your problem or non ?!
It was probably due to bad conda initialisation in.bashrc. I will check that, but after the metabarcoding training which is currently being held
Redirecting mafft standard error to output directory gives an error: https://github.com/geraldinepascal/FROGS/blob/master/tools/tree/tree.py#L276
Whereas it is fine when editing tree.py to redirect standard error to
/dev/null
as in release 2.0.0 :stderr = "/dev/null"
instead ofstderr = tmpFiles.add("mafft.stderr")
https://github.com/geraldinepascal/FROGS/blob/master/tools/tree/tree.py#L276Seems to be a permission issue. Does mafft use a specific user name in sub-processes, different from the one launching mafft ?