Problem running COFACTOR over large number of protein targets

Hello,

I wanted to predict ligand binding sites over a set of 800 proteins. I was hoping to use an academic license of your I-TASSER suite to do this. Unfortunately, when I run the COFACTOR perl script in batch, I receive a variety of errors that are attributed to lines in the provided code. The full log file is attached - just a warning, the log is very large.

log file: https://docs.google.com/a/uw.edu/file/d/0B0-UX_oKvJh6WEZQNHZDblh1WlE/edit

My "wrapper" script submission line looks like this:

nice perl runCOFACTOR.pl -pkgdir ~nishray/TASSER/I-TASSER4.0 -libdir ~nishray/TASSER/I-TASSER4.0/CoachLibrary -protname "$pdb" -model "$pdb" -datadir ~nishray/BetaFactor/ShortPDB -LBS true &

Sample error line:
Use of uninitialized value in join or string at ./profile_1A6S.pdb line 359.

Has anybody seen errors like these before? What might I be doing wrong?

-nishray