ASPL Guide to Operations v 1.00
© 2024 by SetSphere.COM
9. 8g%U aligns two sequences based on their subgroups and the elements union
g%U a1 | a1 a2 | a1 a2 a3 where a1 | a1 a2 | a1 a2 a3 are set variables
g%U`mtm~ a1 | a1 a2 | a1 a2 a3
g%U
When specified by itself then the operation is performed on the object on top of the stack and the one that is one below it
seqop seqoid 123 notcommu ins:H_H_H text:alignment
Use the operator g%U to align two set variables and display their alignment on the terminal. It is assumed that each set variable has one group label, otherwise the first group (in the set variable) is explicitly implied. If you specify two set variables that have the same named group label, then you need to labinate the operator. If the operator g%U is followed by three set variables then the alignment is performed on the datasets resulted by concatenating the third variable to the first and to the second. Hence this is similar to performing an alignment after joining with an "and" operation the first variable and the third variable, and the second variable and the third variable. You can change the sequence alignment algorithm selectively. The sequence alignment can be selected: the command sequencing lcs selects the algorithm for the longest common sequence, and the command sequencing ssa selects the algorithm for the sequence symmetry analysis.
g%U EXAMPLEIn this example we will compare the subdirectories and files in two directories by displaying their sequence alignment. We will start ASPL by loading the WS1 workspace, then we will issue the command g%U to display the alignment of subgroups and elements between the two set variables a1 and a2.
g%U OPERATION# aspl WS1
① aspl>
g%U a1 a2
(show the alignment between a1 and a2)
② aspl>
g%U a1 a2 a3
(show the alignment between a1^a3 and a2^a3)
● Tickable Predicates for g%U
This g%U is tickable with predicates that are shown in the following table:
a yellow note
g%U`_ aligns two sequences based on their subgroups and the elements union g%U`c= aligns two sequences based on their subgroups and the elements union such that they have the same checksum g%U`c~ aligns two sequences based on their subgroups and the elements union such that they have different checksums g%U`c~~ aligns two sequences based on their subgroups and the elements union such that they have all over different checksums g%U`h= aligns two sequences based on their subgroups and the elements union such that they have the same entropy g%U`h~ aligns two sequences based on their subgroups and the elements union such that they have different entropies g%U`h~~ aligns two sequences based on their subgroups and the elements union such that they have all over different entropies g%U`mtm= aligns two sequences based on their subgroups and the elements union such that they have the same make time g%U`mtm~ aligns two sequences based on their subgroups and the elements union such that they have different make times g%U`mtm~~ aligns two sequences based on their subgroups and the elements union such that they have all over different make times g%U`mtm< aligns two sequences based on their subgroups and the elements union such that they have a prior make time g%U`mtm<= aligns two sequences based on their subgroups and the elements union such that they have prior or same make time g%U`mtm> aligns two sequences based on their subgroups and the elements union such that they have more recent make time g%U`mtm>= aligns two sequences based on their subgroups and the elements union such that they have more recent or same make time g%U`ks= aligns two sequences based on their subgroups and the elements union such that they have the same ksum g%U`ks~ aligns two sequences based on their subgroups and the elements union such that they have different ksums g%U`ks~~ aligns two sequences based on their subgroups and the elements union such that they have all over different ksums