We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've noticed you're CFD scoring for each individual off-target sequence is the same. Try this fix.......
def calc_cfd_e(sg,wt,pam,mm_scores,pam_scores): score = 1 wt = wt.replace('T','U') sg = sg.replace('T','U') #wt_list = list(wt) #sg_list = list(sg) shorter, longer = sorted([sg, wt], key=len) for i in range(-len(shorter), 0): if (sg[i] != =wt[i]): key = 'r' + sg[i] + ':d' + revcom(wt[i]) + ',' + str(20 + i + 1) score *= mm_scores[key] score *= pam_scores[pam[-2:]] #for i,wl in enumerate(wt_list): # try: # key = 'r'+sg_list[i]+':d'+revcom(wl)+','+str(i+1) # score*= mm_scores[key] # except KeyError: # continue #score*=pam_scores[pam] return (score)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I've noticed you're CFD scoring for each individual off-target sequence is the same. Try this fix.......
The text was updated successfully, but these errors were encountered: