Skip to content

Commit

Permalink
fix a type
Browse files Browse the repository at this point in the history
  • Loading branch information
abearab committed Apr 6, 2024
1 parent ce35234 commit 9c4bed0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions screenpro/ngs/cas12.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def get_spacers_cas12(df_count,DRref):
return df_count, out


def map_to_cas12_pairs_library(df_count,library,DR1_seq, get_recominant=False, verbose=False):
def map_to_cas12_pairs_library(df_count,library,DR1_seq, get_recombinant=False, verbose=False):

t0 = time()

Expand All @@ -83,7 +83,7 @@ def map_to_cas12_pairs_library(df_count,library,DR1_seq, get_recominant=False, v
print(f"% counts mapped to library: {perc_mapped}")


if get_recominant:
if get_recombinant:
df_res_unmap = df_count_split.join(
pl.DataFrame(
library[['SP1_sequence','SP2_sequence']].reset_index()
Expand Down Expand Up @@ -124,7 +124,7 @@ def map_to_cas12_pairs_library(df_count,library,DR1_seq, get_recominant=False, v
return df_res


def map_to_cas12_triplets_library(df_count,library,DR1_seq, DR2_seq, get_recominant=False, verbose=False):
def map_to_cas12_triplets_library(df_count,library,DR1_seq, DR2_seq, get_recombinant=False, verbose=False):

t0 = time()

Expand Down Expand Up @@ -157,7 +157,7 @@ def map_to_cas12_triplets_library(df_count,library,DR1_seq, DR2_seq, get_recomin

print(f"% counts mapped to library: {perc_mapped}")

if get_recominant:
if get_recombinant:
df_res_unmap = df_count_split.join(
pl.DataFrame(
library[['SP1_sequence','SP2_sequence','SP3_sequence']].reset_index()
Expand Down

0 comments on commit 9c4bed0

Please sign in to comment.