
bash, c-shell , ... ??? On 26/08/2010 16:35, Michiel Van Bel wrote:
ok, klein vraagje waarom kan ikde "if/then/else" syntax op midas gebruiken, en niet op de cluster? Is er een manier om dit toch te doen? e.g. Dit werkt op midas :
if [ -f smo.txt.out ] then echo "Output file for smo already exists" else ./C_Hunter ./Scheme/scheme.GO.data ./dataset/public_02/TANDEM/smo/map_list ./dataset/public_02/TANDEM/smo/data_list 2 10 20 0.001 50 t smo.txt fi
Maar op cluster nodes krijg ik gewoon deze boodschap in de error-file if: Expression Syntax. (en dan crasht de job).
Ik dacht dat dat standaard unix/linux commando's waren, maar blijkbaar toch niet :-(
Michiel
-- ============================================================== Lieven Sterck, PhD Tel:+32 (0)9 3313821 Fax:+32 (0)9 3313809 VIB Department of Plant Systems Biology, UGent Bioinformatics and Evolutionary Genomics Division Technologiepark 927, B-9052 Gent, Belgium Email: lieven.sterck@psb.vib-ugent.be Website: http://bioinformatics.psb.ugent.be ============================================================== "Facts are meaningless. You could use facts to prove anything that's even remotely true" - H. Simpson