File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -107,12 +107,13 @@ def run_msa(downstream_segs_to_align, gid_to_records):
107
107
seq_lens = [seg .stop - seg .start for seg in downstream_segs_to_align ]
108
108
longest_seq = max (seq_lens )
109
109
mean_seq_len = np .mean (seq_lens )
110
- if sum (
111
- mean_seq_len * (1 - length_window ) <= (seg .stop - seg .start ) <= mean_seq_len * (1 + length_window ) for seg in downstream_segs_to_align ) > len (downstream_segs_to_align )* window_prop :
112
- base_length = int (mean_seq_len * (1 + length_window ))
113
- else :
114
- base_length = BASE_LENGTH
110
+ # if sum(
111
+ # mean_seq_len*(1 - length_window) <= (seg.stop - seg.start) <= mean_seq_len*(1 + length_window) for seg in downstream_segs_to_align) > len(downstream_segs_to_align)*window_prop:
112
+ # base_length = int(mean_seq_len*(1 + length_window))
113
+ # else:
114
+ # base_length = BASE_LENGTH
115
115
116
+ base_length = BASE_LENGTH
116
117
while keep_extending :
117
118
seqs_to_align = ["A" + (str (
118
119
gid_to_records [seg .idp .gid ][seg .idp .cid ].seq [seg .start :seg .stop ] if seg .strand == 1
You can’t perform that action at this time.
0 commit comments