system("dsspcmbi $pdbstructure $dsspfile") and die "System called failed."; #### $residuecombofile = "$combodir$residue1$residue2$residue3$out"; #### if(open(PDB,"$pdbstructure")) #### if ( -e $pdbstructure ) #### if ( -r $pdbstructure ) #### if($flag == 0) #### No structure file. Moving to next structure in list