Add missing binaty and statis library
[jabaws.git] / binaries / src / ViennaRNA / Utils / Fold
1 #!/bin/csh -f
2 # This is an example script that demonstrates how to automatically convert 
3 # seqences from databanks into a format suitable for RNAfold and pipe the 
4 # result to RNAfold. 
5 @ n=$#argv
6 if ( $n == 0 ) goto usage
7 if !( -f $argv[$n] ) goto nofile
8 readseq -f19 -pipe $argv[$n] | sed -e "/^>/\!s/[Tt]/U/g" | RNAfold $argv[1-$n]
9 exit
10 nofile:
11 echo "couldn't open file " $argv[$n]
12 usage:
13 echo "usage: Fold [RNAfold_options] sequence_file"
14 exit -1
15