File tree 1 file changed +13
-15
lines changed
1 file changed +13
-15
lines changed Original file line number Diff line number Diff line change @@ -12,44 +12,42 @@ role Bio::Role::Location does Bio::Role::Range {
12
12
has Location-Pos-Type $ . start-pos-type is rw = EXACT-POS;
13
13
has Location-Pos-Type $ . end-pos-type is rw = EXACT-POS;
14
14
has Join-Type $ . type is rw = EXACT;
15
-
15
+
16
16
method max-start {
17
17
$ . start + $ . start-offset
18
18
}
19
-
19
+
20
20
method min-start {
21
21
$ . start
22
22
}
23
-
23
+
24
24
method max-end {
25
25
$ . end + $ . end-offset
26
26
}
27
-
27
+
28
28
method min-end {
29
29
$ . end
30
30
}
31
-
31
+
32
32
# return Bool
33
33
method is-valid returns Bool {
34
34
$ . start . defined && $ . end . defined
35
35
and
36
- $ . start-pos-type ! ~~ AFTER
36
+ $ . start-pos-type != AFTER
37
37
and
38
- $ . end-pos-type ! ~~ BEFORE
38
+ $ . end-pos-type != BEFORE
39
39
}
40
-
40
+
41
41
method is-remote returns Bool {
42
42
$ ! seqid . defined
43
43
}
44
-
44
+
45
45
method is-fuzzy returns Bool {
46
- $ . type ! ~~ EXACT
46
+ $ . type != EXACT
47
47
or
48
- $ . start-pos-type ! ~~ EXACT-POS
48
+ $ . start-pos-type != EXACT-POS
49
49
or
50
- $ . end-pos-type ! ~~ EXACT-POS
50
+ $ . end-pos-type != EXACT-POS
51
51
}
52
-
53
- }
54
-
55
52
53
+ }
You can’t perform that action at this time.
0 commit comments