Help a perl newbie coding for a bioinfo guy please.
I have a shell script that contains the following code
# $1=sequence_file, $2=input_file, $3=output file, $4=chain.
if [ $# != 4 ]
echo "Usage: p_pdb.sh sequence_file pdb_file output_file chain"
#basename $2 >> $3
grep ^HELIX $2|sed 's/\ \ */\ /g'|cut -d" " -f1,5,6,9 >$TEMP_FILE
grep ^SHEET $2|sed 's/\ \ */\ /g'|cut -d" " -f1,6,7,10 >>$TEMP_FILE
p_pdb.pl $1 $TEMP_FILE $3
I have to write a cgi-perl script which takes the same inputs as the
shell script and pass them to the p_pdb.pl script. For that ...