Skip to content

Commit

Permalink
Update generate_sequence.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekruhela committed May 17, 2022
1 parent e49ce9a commit 548c4b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generate_sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ def generate_sequence(fasta_seq, gff_df, rna_dict, no_mir_chr, n_seq_per_chr, de
fasta_seq.append('>' + mir + '_no_alterations')
if seq_error == 'Seed_region':
fasta_seq.append('>' + mir + '_seed_alterations')
if seq_error == 'Seed_region':
if seq_error == 'Outside_Seed_region':
fasta_seq.append('>' + mir + '_xseed_alterations')
if seq_error == 'Both_region':
fasta_seq.append('>' + mir + '_both_seed_&_xseed_alterations')
fasta_seq.append(mir_seq_new)

return fasta_seq
return fasta_seq

0 comments on commit 548c4b6

Please sign in to comment.