LfOreVEr commited on
Commit
fd24a1b
1 Parent(s): 5befd90

Updata cas12.py

Browse files
Files changed (1) hide show
  1. cas12.py +1 -2
cas12.py CHANGED
@@ -146,8 +146,7 @@ def process_gene(gene_symbol, model_path):
146
  chr = Exons[j]['seq_region_name']
147
  targets = find_crispr_targets(gene_sequence, chr, start, strand, transcript_id, exon_id)
148
  if targets:
149
- formatted_data = format_prediction_output(targets,
150
- '/content/drive/MyDrive/Colab Notebooks/DeepCpf1/Seq_deepCpf1_weights.h5')
151
  results.append(formatted_data)
152
  # for data in formatted_data:
153
  # print(f"Chr: {data[0]}, Start: {data[1]}, End: {data[2]}, Strand: {data[3]}, target: {data[4]}, gRNA: {data[5]}, pred_Score: {data[6]}")
 
146
  chr = Exons[j]['seq_region_name']
147
  targets = find_crispr_targets(gene_sequence, chr, start, strand, transcript_id, exon_id)
148
  if targets:
149
+ formatted_data = format_prediction_output(targets, model_path)
 
150
  results.append(formatted_data)
151
  # for data in formatted_data:
152
  # print(f"Chr: {data[0]}, Start: {data[1]}, End: {data[2]}, Strand: {data[3]}, target: {data[4]}, gRNA: {data[5]}, pred_Score: {data[6]}")