scripting - Aid with tcsh shell script for protein research -
could please me figure out what's wrong it? thanks!
it gives me lots of these errors when try initialize it:
startdssp not created due error: empty protein, or no valid complete residues
my script:
#! /usr/bin/env tcsh set getlocation = "/home/yyyyyy/desktop/dcompartment/xxxxxxxx/perl_scripts" set getname = "get_right_pdb_format.pl" set sslocation = "/home/yyyyyyy/desktop/dcompartment/xxxxxxxx/perl_scripts" set ssname = "get_ss_dssp_itasser.pl" set suffix = ".dssp" foreach file (*.pdb) cp $getlocation/$getname . cp $sslocation/$ssname . sed -i "s/2jix\.pdb/$file/g" $getname perl $getname dssp -i $file-1 -o $file:r sed -i "s/bamboozled/$file:r/g" $ssname sed -i "s/2j1x\.pdb_1/$file:r/g" $ssname perl $ssname end
Comments
Post a Comment