Skip to content

Commit

Permalink
Fix #65
Browse files Browse the repository at this point in the history
  • Loading branch information
veghp committed Jan 31, 2022
1 parent fed4613 commit f107ac3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
tf_list = tf_column.to_list()
# According to the description, the binding sites are in uppercase, so we remove lowercase:
tf_binding_sequences = ["".join(ch for ch in tf if not ch.islower()) for tf in tf_list]
# Remove single-nucleotide TFs:
tf_binding_sequences = [tf for tf in tf_binding_sequences if len(tf) > 1]

# DEFINE AND SOLVE THE OPTIMIZATION PROBLEM
problem = DnaOptimizationProblem(
Expand Down

0 comments on commit f107ac3

Please sign in to comment.