The following procedure is used to generate matrices which represent the scores of each subsequence of the contig as a gene-encoding or nongene region.