Skip to content

Commit ff9ebda

Browse files
committed
Update negative strand expectations in subexon tests
1 parent ebda113 commit ff9ebda

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

tests/test_subexons.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def test_subexon_clusters(clustered_trx_data):
145145
not_merged = subexons.create_subexon_table(data, merge_non_redundant=False)
146146
assert not_merged.shape[0] > subexon_table.shape[0]
147147

148-
# QVQQ
148+
# AQVQQ
149149
assert len(
150150
not_merged[not_merged['SubexonID'] == 'ENSMUSE00000689835_SE_2']) > 0
151151
assert len(
@@ -161,15 +161,15 @@ def test_subexon_clusters(clustered_trx_data):
161161
qvqq['TranscriptID']) == ['ENSMUST00000111943', 'ENSMUST00000111945']
162162
for index in [0, 1]:
163163
assert qvqq['Strand'].iloc[index] == -1
164-
assert str(qvqq['SubexonProteinSequence'].iloc[index]) == 'QVQQ*'
164+
assert str(qvqq['SubexonProteinSequence'].iloc[index]) == 'AQVQQ*'
165165
assert str(qvqq['SubexonSequence'].iloc[index]) == 'CACAGGTGCAGCAATGA'
166166
assert qvqq['ExonIDCluster'].iloc[
167167
index] == 'ENSMUSE00000689835/ENSMUSE00000689841'
168168

169169
# ENSMUSE00000689835 unmerged coordinates:
170170
#
171171
# G|CACAG GTGCAGCAATGA
172-
# Q V Q Q *
172+
# A Q V Q Q *
173173
#
174174
# phases:
175175
# 1 0 0
@@ -280,8 +280,8 @@ def test_subexon_phases_and_coordinates(clustered_trx_data):
280280

281281
# ENSABRE00000111150 has two sub-exons: se_a and se_b
282282

283-
# se_a : AVMSR
284-
# se_b : SKRDNNFYSVEIGDSTFTVLKRYQNLKPIGSGAQGIVC
283+
# se_a : FAVMS
284+
# se_b : RSKRDNNFYSVEIGDSTFTVLKRYQNLKPIGSGAQGIV
285285

286286
# se_a :
287287
# \/ 2379656 (start phase: 1)
@@ -331,5 +331,5 @@ def test_subexon_phases_and_coordinates(clustered_trx_data):
331331
assert str(se_a['SubexonSequence']) == "TTGCCGTCATGAGCAG"
332332

333333
assert str(se_b['SubexonProteinSequence']
334-
) == "SKRDNNFYSVEIGDSTFTVLKRYQNLKPIGSGAQGIVC"
335-
assert str(se_a['SubexonProteinSequence']) == "AVMSR"
334+
) == "RSKRDNNFYSVEIGDSTFTVLKRYQNLKPIGSGAQGIV"
335+
assert str(se_a['SubexonProteinSequence']) == "FAVMS"

0 commit comments

Comments
 (0)