Check if all pairwise combinations of elements of input.seqare contained in twopt
input.seq
twopt
Useful links