回答編集履歴
1
インデント修正
test
CHANGED
@@ -40,49 +40,49 @@
|
|
40
40
|
|
41
41
|
if ($buff =~ /Query\s+(\d+)\s+([a-zA-Z-]+)\s+(\d+)/) {
|
42
42
|
|
43
|
-
|
43
|
+
$str_len -= length($2);
|
44
44
|
|
45
|
-
|
45
|
+
if (!@query_pos && ($str_len != 0)) {
|
46
46
|
|
47
|
-
|
47
|
+
push(@query_pos, $1, $3);
|
48
48
|
|
49
|
-
|
49
|
+
print_seqinfo();
|
50
50
|
|
51
|
-
|
51
|
+
undef(@query_pos);
|
52
52
|
|
53
|
-
|
53
|
+
$str_len = 60;
|
54
54
|
|
55
|
-
|
55
|
+
}
|
56
56
|
|
57
|
-
|
57
|
+
elsif (!@query_pos) {
|
58
58
|
|
59
|
-
|
59
|
+
push(@query_pos, $1);
|
60
60
|
|
61
|
-
|
61
|
+
}
|
62
62
|
|
63
|
-
|
63
|
+
if (@query_pos) {
|
64
64
|
|
65
|
-
|
65
|
+
if ($str_len == 0) {
|
66
66
|
|
67
|
-
|
67
|
+
$str_len = 60;
|
68
68
|
|
69
|
-
|
69
|
+
next;
|
70
70
|
|
71
|
-
|
71
|
+
}
|
72
72
|
|
73
|
-
|
73
|
+
elsif ($str_len != 0) {
|
74
74
|
|
75
|
-
|
75
|
+
push(@query_pos, $3);
|
76
76
|
|
77
|
-
|
77
|
+
print_seqinfo();
|
78
78
|
|
79
|
-
|
79
|
+
undef(@query_pos);
|
80
80
|
|
81
|
-
|
81
|
+
$str_len = 60;
|
82
82
|
|
83
|
-
|
83
|
+
}
|
84
84
|
|
85
|
-
|
85
|
+
}
|
86
86
|
|
87
87
|
}
|
88
88
|
|