Converted to SGE script accepting reference_contigs.fa and query_contigs.fa as infiles.