1 # Copyright (C) 2005-2009, Parrot Foundation.
12 if $S0 != ">THREE" goto beginwhile_1
20 unless $I0 goto endwhile_2
22 if $S0 != ">" goto beginwhile_2
29 find_seq(seq, "GGTATT")
30 find_seq(seq, "GGTATTTTAATT")
31 find_seq(seq, "GGTATTTTAATTTATAGT")
43 unless i < seqend goto endfor
44 $S0 = substr seq, i, len
46 if $I1 < len goto endfor
53 sort_n_print(table, i)
57 .include "iterator.pasm"
64 array = new 'FixedPMCArray'
70 set it, .ITERATE_FROM_START
73 unless it goto iter_end_1
76 $P0 = new 'FixedPMCArray'
85 $P0 = get_global "sort"
91 unless i < $I0 goto endfor
96 $P0 = new 'FixedFloatArray'
102 $S0 = sprintf "%.3f\n", $P0
126 $I0 = index seq, s, $I2
127 if $I0 == -1 goto endwhile
142 # vim: expandtab shiftwidth=4 ft=pir: