Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/anarcii/input_data_processing/sequences.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ def _handle_long_sequences(self):
SCFV_WINDOW_NUM = int(SCFV_WINDOW_SIZE / SCFV_JUMP)

SHIFT = int(50 / SCFV_JUMP) # no of windows to move along: 50 residues
SCFV_THRESHOLD = 20 # Score cut off for a given window
# SCFV_THRESHOLD = 20 # Score cut off for a given window
SCFV_THRESHOLD = 25 # Magic number hack id by @eliottpark

windows = split_seq(
sequence, n_jump=SCFV_JUMP, window_size=SCFV_WINDOW_SIZE
Expand All @@ -151,6 +152,7 @@ def _handle_long_sequences(self):
# iterate through data and find minima that adhear to our conditions.
while len(data) > 1:
min_value = min(data[:SCFV_WINDOW_NUM])
# print(min_value)
# The minima must be global...
# And not at the end of the sequence..
# Or the start...
Expand Down