#!/bin/csh
#
# This UCSF Generation and Cleanup script was created by AGNuS 1.0.
#


# Testing to delete ./pipe_conversion/
if (-e ./pipe_conversion/) then
	echo "Deleteing ./pipe_conversion/"
	rm -fr ./pipe_conversion/ 
endif

# Testing to delete ./pipe_processing/
if (-e ./pipe_processing/) then
	echo "Deleteing ./pipe_processing/"
	rm -fr ./pipe_processing/ 
endif

# Generate UCSF if ./HAcacoNH.pipe exists
if (-e ./HAcacoNH.pipe) then
	echo "Attempting to generate UCSF file ./HAcacoNH.ucsf"
	if ( { pipe2ucsf ./HAcacoNH.pipe ./HAcacoNH.ucsf } ) then 
		echo "Deleteing ./HAcacoNH.pipe"
		rm -f ./HAcacoNH.pipe 
	endif
endif

