Skip to content

Commit e412406

Browse files
committed
removed print statements
1 parent 1c5fcbd commit e412406

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/guide-finder/core/score_offtargets.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,24 +59,24 @@ def inDelphiScore(guideDict,genome_fa,twoBitToFa_path,genome_2bit,tempfiles_path
5959
#TODO: NEED TO REPLACE NEXT LINE
6060
# the last term should be replaced with ~20 bps after the cutsite
6161
# get this via the get_sequence code
62-
print(guide['guide_seq'])
62+
#print(guide['guide_seq'])
6363

6464
cleavePos=int(str(cleaves)[2:-2])
65-
print(cleavePos)
65+
#print(cleavePos)
6666
#get strand
67-
print(guide['strand'])
67+
#print(guide['strand'])
6868
#apply strand logic to coordinates before submitting to get_sequence.py
6969
if guide['strand'] == "+":
7070
coords=str("%s:%s-%s"%(guide['pam_chrom'],guide['guide_genomic_start'],(guide['pam_genomic_start']+cleavePos+20)))
7171
elif guide['strand'] == "-":
7272
coords=str("%s:%s-%s"%(guide['pam_chrom'],(guide['pam_genomic_start']-len(guide['guide_seq'])+3),(guide['pam_genomic_start']+1+cleavePos+22)))
7373
# coords=str("%s:%s-%s"%(guide['pam_chrom'],guide['guide_genomic_start'],(guide['pam_genomic_start']+cleavePos+20)))
7474

75-
print(coords)
75+
#print(coords)
7676

7777
timestr = time.strftime("%Y%m%d-%H%M%S")
7878
getseq=str(get_sequence.fetch_sequence(twoBitToFa_path, coords, genome_2bit, os.path.join(tempfiles_path,timestr+'_out.fa')))
79-
print(os.path.join(tempfiles_path,timestr+'_out.fa'))
79+
#print(os.path.join(tempfiles_path,timestr+'_out.fa'))
8080

8181
#get flanking sequence before and after cutsite
8282
fullSeq = ''
@@ -99,7 +99,7 @@ def inDelphiScore(guideDict,genome_fa,twoBitToFa_path,genome_2bit,tempfiles_path
9999
fullSeq = "".join(list(reversed(fullSeq))).translate(translate_code)
100100

101101
cutsite = len(guide['guide_seq']) + cleavePos
102-
print(fullSeq)
102+
#print(fullSeq)
103103

104104
pred_df, stats = inDelphi.predict(fullSeq, cutsite)
105105
guide['Precision'] = round(stats['Precision'],2)

0 commit comments

Comments
 (0)