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

Commit

Permalink
fix nucleotides list in orfs.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Donaim committed Sep 27, 2023
1 parent c4d6804 commit 7344242
Show file tree
Hide file tree
Showing 26 changed files with 3,410 additions and 3,410 deletions.
2 changes: 1 addition & 1 deletion intact/intact.py
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ def analyse_single_sequence(writer, sequence, blast_rows):
o.distance,
str(o.query.protein),
str(o.query.aminoacids),
str(sequence[o.query.start:o.query.end].seq),
str(o.query.nucleotides),
) for o in sorted(sequence_orfs + sequence_small_orfs, key=lambda o: o.query.start)]

if include_packaging_signal:
Expand Down
162 changes: 81 additions & 81 deletions tests/expected-results-edgy/errors.json

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions tests/expected-results-edgy/holistic.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"blast_qseq_coverage": 1.130479522535501,
"blast_sseq_orfs_coverage": 1.0,
"orfs_start": 789,
"orfs_end": 8794,
"orfs_end": 8793,
"blast_n_conseqs": 3
},
"small-sequence[REVERSE_COMPLEMENT]": {
Expand All @@ -20,7 +20,7 @@
"blast_qseq_coverage": 0.0,
"blast_sseq_orfs_coverage": 0.0,
"orfs_start": 1,
"orfs_end": 8007,
"orfs_end": 8006,
"blast_n_conseqs": 0
},
"singleton-sequence": {
Expand All @@ -32,7 +32,7 @@
"blast_qseq_coverage": 0.0,
"blast_sseq_orfs_coverage": 0.0,
"orfs_start": 1,
"orfs_end": 8007,
"orfs_end": 8006,
"blast_n_conseqs": 0
},
"empty-sequence": {
Expand All @@ -44,7 +44,7 @@
"blast_qseq_coverage": 0.0,
"blast_sseq_orfs_coverage": 0.0,
"orfs_start": 1,
"orfs_end": 8007,
"orfs_end": 8006,
"blast_n_conseqs": 0
},
"empty-sequence2": {
Expand All @@ -56,7 +56,7 @@
"blast_qseq_coverage": 0.0,
"blast_sseq_orfs_coverage": 0.0,
"orfs_start": 1,
"orfs_end": 8007,
"orfs_end": 8006,
"blast_n_conseqs": 0
},
"Ref.B.FR.83.HXB2_LAI_IIIB_BRU.K03455.BUT.REVERSED[REVERSE_COMPLEMENT]": {
Expand All @@ -68,7 +68,7 @@
"blast_qseq_coverage": 0.0,
"blast_sseq_orfs_coverage": 0.0,
"orfs_start": 1,
"orfs_end": 8007,
"orfs_end": 8006,
"blast_n_conseqs": 0
},
"Ref.B.FR.83.HXB2_LAI_IIIB_BRU.K03455.BUT.WITH-XS[REVERSE_COMPLEMENT]": {
Expand All @@ -80,7 +80,7 @@
"blast_qseq_coverage": 0.0,
"blast_sseq_orfs_coverage": 0.0,
"orfs_start": 1,
"orfs_end": 8007,
"orfs_end": 8006,
"blast_n_conseqs": 0
},
"small-sequence-with-xs": {
Expand All @@ -92,7 +92,7 @@
"blast_qseq_coverage": 0.0,
"blast_sseq_orfs_coverage": 0.0,
"orfs_start": 1,
"orfs_end": 8007,
"orfs_end": 8006,
"blast_n_conseqs": 0
},
"Ref.B.FR.83.HXB2_LAI_IIIB_BRU.K03455.BUT.WITH-BAD-SYMBOLS[REVERSE_COMPLEMENT]": {
Expand All @@ -104,7 +104,7 @@
"blast_qseq_coverage": 0.0,
"blast_sseq_orfs_coverage": 0.0,
"orfs_start": 1,
"orfs_end": 8007,
"orfs_end": 8006,
"blast_n_conseqs": 0
},
"small-sequence-with-bad-symbols": {
Expand All @@ -116,7 +116,7 @@
"blast_qseq_coverage": 0.0,
"blast_sseq_orfs_coverage": 0.0,
"orfs_start": 1,
"orfs_end": 8007,
"orfs_end": 8006,
"blast_n_conseqs": 0
},
"Ref.B.FR.83.HXB2_LAI_IIIB_BRU.K03455.BUT.WITH-DASHES[REVERSE_COMPLEMENT]": {
Expand All @@ -128,7 +128,7 @@
"blast_qseq_coverage": 0.0,
"blast_sseq_orfs_coverage": 0.0,
"orfs_start": 1,
"orfs_end": 8007,
"orfs_end": 8006,
"blast_n_conseqs": 0
},
"small-sequence-with-dashes": {
Expand All @@ -140,7 +140,7 @@
"blast_qseq_coverage": 0.0,
"blast_sseq_orfs_coverage": 0.0,
"orfs_start": 1,
"orfs_end": 8007,
"orfs_end": 8006,
"blast_n_conseqs": 0
}
}
Loading

0 comments on commit 7344242

Please sign in to comment.