While the code for writing alignments in "align/align_base.h" prints rows in numerical order, which puts the query below the reference, in an inversion of standard practice:
I think this also runs counter to how a number of SDP algorithms are traditional written, where seqan puts the Horizontal sequence first, which IIRC is traditionally the query not the reference (e.g. Baker & Giancarlo (2002), http://www.sciencedirect.com/science/article/pii/S0196677402912149) """