Skip to content

Commit 19a8b42

Browse files
changed break to continue when annotated peptide is encountered in SPRAT
1 parent dd871c9 commit 19a8b42

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

rrnpp_detector/search_small_orfs.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,7 @@ def get_orfs(genomic_accession, strand, region_start, region_end, region_seq,
105105
# if detected small orf already is annotated, don't print it in fasta
106106
# Store nonetheless the RBS values in protein dict
107107
if genomic_key in coord_to_anno_pep:
108-
protein_dict[coord_to_anno_pep[genomic_key]]['RBS_bin'] = None
109-
protein_dict[coord_to_anno_pep[genomic_key]]['RBS_spacer'] = None
110-
protein_dict[coord_to_anno_pep[genomic_key]]['RBS_motif'] = None
111-
# outfile.write('>' + coord_to_anno_pep[genomic_key] + ' ' + genomic_accession + '_[' + str(real_start) + '-' + str(real_end) + '](' + strand +
112-
# ')_Anchor=' + anchor_protein + '_RBS_bin=' + str(rbs_bin) + ';RBS_motif=' + rbs_motif + ';RBS_spacer=' + str(rbs_spacer) + '\n')
113-
# outfile.write(orf_seq + '\n')
114-
# break
108+
continue
115109

116110
# if orf has a relevant RBS, fill protein_dict, cognate_dict and pair_dict
117111
if rbs_bin in bins_allowed:

0 commit comments

Comments
 (0)