Skip to content

Commit

Permalink
Replaced input DF for encoding matrix with the padded DF
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingBash committed Dec 8, 2023
1 parent d57d301 commit e385343
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,11 @@ def pad_series(series):
#
# ENCODE THE WHITELISTED SEQUENCES INTO NUMPY MATRICES - THIS IS REQUIRED FOR HAMMING-BASED MAPPING
#
encoded_whitelist_protospacer_sequences_series = sequence_encoding.encode_guide_series(whitelist_guide_reporter_df["protospacer"])
encoded_whitelist_protospacer_sequences_series = sequence_encoding.encode_guide_series(padded_whitelist_guide_reporter_df["protospacer"])
if contains_surrogate:
encoded_whitelist_surrogate_sequences_series = sequence_encoding.encode_guide_series(whitelist_guide_reporter_df["surrogate"])
encoded_whitelist_surrogate_sequences_series = sequence_encoding.encode_guide_series(padded_whitelist_guide_reporter_df["surrogate"])
if contains_barcode:
encoded_whitelist_barcode_sequences_series = sequence_encoding.encode_guide_series(whitelist_guide_reporter_df["barcode"])
encoded_whitelist_barcode_sequences_series = sequence_encoding.encode_guide_series(padded_whitelist_guide_reporter_df["barcode"])



Expand Down
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion crispr-ambiguous-mapping/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "crispr-ambiguous-mapping"
version = "0.0.106"
version = "0.0.107"
description = ""
authors = ["Basheer Becerra <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit e385343

Please sign in to comment.