1. A method for sequence analysis comprising: storing at least one query sequence and at least one subject sequence each as relations in a relational database; carrying out a comparison of the at least one query sequence and the at least one subject sequence, each stored as relations in the relational database, as one or more Structured Query Language (SQL) queries formulated to include at least one join operation, wherein at least one SQL query is formulated with a controls table that specifies parameters of the comparison; and storing a result of the comparison as a result relation in the relational database, wherein a number of tuples in the result relation is larger than a multiplicative product of a number of tuples in the at least one subject sequence times a number of tuples in the at least one query sequence, to accommodate multiple points of alignment between each combination of the at least one query sequence and the least one subject sequence that are compared.