#!/usr/bin/csh
if ( $#argv >= 3 ) then
	echo used clustalw options: $argv[3-]
endif
clustalw $argv[2-]
echo ' '
echo ' '
echo ' '
echo 'Program clustalw terminated.'
echo -n 'Load new alignment? [(y)/n] '
set rep = $<
if ( $rep == 'n' ) then
	echo aborted > $argv[1].status
else
	echo success > $argv[1].status
endif
