Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
Donaim committed Sep 22, 2023
1 parent e9e84e6 commit 434179a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions intact/intact.py
Original file line number Diff line number Diff line change
Expand Up @@ -730,11 +730,6 @@ def analyse_single_sequence(holistic, sequence, blast_rows):
blast_matched_orfs_slen = holistic.orfs_end - holistic.orfs_start
holistic.blast_sseq_orfs_coverage = aligned_reference_orfs_length / blast_matched_orfs_slen

reverse_sequence = SeqRecord.SeqRecord(Seq.reverse_complement(sequence.seq),
id = sequence.id + " [REVERSED]",
name = sequence.name
)

forward_aligned_sequence = AlignedSequence(this=sequence, reference=aligned_subtype.this)
reverse_aligned_sequence = forward_aligned_sequence.reverse()

Expand All @@ -746,7 +741,7 @@ def analyse_single_sequence(holistic, sequence, blast_rows):
print("Reversing sequence " + sequence.id + "; forward score "
+ str(forward_score) + "; reverse score " + str(reverse_score))
aligned_sequence = reverse_aligned_sequence
sequence = reverse_sequence
sequence = aligned_sequence.this

alignment = aligned_sequence.get_alignment()

Expand Down

0 comments on commit 434179a

Please sign in to comment.