mirror of
http://43.156.76.180:8026/YuuMJ/EukPhylo.git
synced 2025-12-27 06:40:25 +08:00
Cleaning up length filter
This commit is contained in:
parent
0faa9f0b14
commit
bacb094028
@ -304,7 +304,7 @@ def filter_NTD_data(args, OGLenDB):
|
||||
og_prefix = rec.split(og_number)[-2][-4:]
|
||||
og = og_prefix + og_number
|
||||
|
||||
if len(starting_AA_seqs[rec]) <= 1.5*OGLenDB[og] and len(starting_AA_seqs[rec]) >= 0.33*OGLenDB[og] and '-'.join(rec.split('_')[1:]) not in short_from_translation:
|
||||
if len(starting_AA_seqs[rec]) <= 1.5*OGLenDB[og] and 3*len(starting_AA_seqs[rec]) >= OGLenDB[og] and '-'.join(rec.split('_')[1:]) not in short_from_translation:
|
||||
good_NTD_seqs.append((rec, starting_NTD_seqs[rec]))
|
||||
good_AA_seqs.append((rec, starting_AA_seqs[rec]))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user