Hi all, i need to draw secondary structure using RNAplot from command line whit Php. I get dot-bracket notation using RNAcofold, with Php command exec (seq.txt contain my RNA sequence):
exec(RNAcofold < seq.txt", $output1, $return_var1);
Then i write another file (named notation.txt), structured as follow:
LINE1: -> RNA sequence LINE2: -> Dot-bracket notation
Well, if i call "RNAplot -o svg < notation.txt" using Dos prompt, i get the svg file.
But if i call RNAplot whit Php:
exec(RNAplot < notation.txt", $output2, $return_var2);
i don't get the file. What's wrong? If i print $return_var2, i get 0, so in theory the command works fine.
Thanks in advance.