RNApolis 0.3.5__py3-none-any.whl → 0.3.7__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {RNApolis-0.3.5.dist-info → RNApolis-0.3.7.dist-info}/METADATA +1 -1
- {RNApolis-0.3.5.dist-info → RNApolis-0.3.7.dist-info}/RECORD +7 -7
- rnapolis/rfam_folder.py +13 -0
- {RNApolis-0.3.5.dist-info → RNApolis-0.3.7.dist-info}/LICENSE +0 -0
- {RNApolis-0.3.5.dist-info → RNApolis-0.3.7.dist-info}/WHEEL +0 -0
- {RNApolis-0.3.5.dist-info → RNApolis-0.3.7.dist-info}/entry_points.txt +0 -0
- {RNApolis-0.3.5.dist-info → RNApolis-0.3.7.dist-info}/top_level.txt +0 -0
@@ -5,13 +5,13 @@ rnapolis/metareader.py,sha256=4qtMKRvww2sUStLeV8WVrLEt-ScydHUv4Gxx96tnf-M,1683
|
|
5
5
|
rnapolis/molecule_filter.py,sha256=NhjuqdCRnXgPefWZPeTq77tifmnAzamQtA0ODqPPG9k,6918
|
6
6
|
rnapolis/motif_extractor.py,sha256=duHvpi9Ulcny9K60E6VBpz5RpJZw-KdTB4_Ph0iP478,774
|
7
7
|
rnapolis/parser.py,sha256=Z3Zd_IuRyOP45x5BStgu7UgoyHthhw55fT3udHUhAE4,11905
|
8
|
-
rnapolis/rfam_folder.py,sha256=
|
8
|
+
rnapolis/rfam_folder.py,sha256=F4CTGgqKQAUSGC8uJxJJRng9BaoqDlK7gmXMQIxblLQ,11173
|
9
9
|
rnapolis/tertiary.py,sha256=iWMPD9c21rjMPpEdBd7mPCQgds65IbOr4_Fy06s0NoU,18957
|
10
10
|
rnapolis/transformer.py,sha256=V9nOQvdq4-p7yUWo0vQg0CDQMpmyxz9t4TMSRVEKHnw,1817
|
11
11
|
rnapolis/util.py,sha256=IdquFO3PV1_KDqodjupzm0Rqvgy0CeSzxGHaGEHYXVU,543
|
12
|
-
RNApolis-0.3.
|
13
|
-
RNApolis-0.3.
|
14
|
-
RNApolis-0.3.
|
15
|
-
RNApolis-0.3.
|
16
|
-
RNApolis-0.3.
|
17
|
-
RNApolis-0.3.
|
12
|
+
RNApolis-0.3.7.dist-info/LICENSE,sha256=ZGRu12MzCgbYA-Lt8MyBlmjvPZh7xfiD5u5wBx0enq4,1066
|
13
|
+
RNApolis-0.3.7.dist-info/METADATA,sha256=MzqyQQvP9rLBF8wjPp8zDJei55L_tT27uFjPDihvWP0,54300
|
14
|
+
RNApolis-0.3.7.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
15
|
+
RNApolis-0.3.7.dist-info/entry_points.txt,sha256=foN2Pn5e-OzEz0fFmNoX6PnFSZFQntOlY8LbognP5F0,308
|
16
|
+
RNApolis-0.3.7.dist-info/top_level.txt,sha256=LcO18koxZcWoJ21KDRRRo_tyIbmXL5z61dPitZpy8yc,9
|
17
|
+
RNApolis-0.3.7.dist-info/RECORD,,
|
rnapolis/rfam_folder.py
CHANGED
@@ -137,7 +137,11 @@ def analyze_cmsearch(cmsearch: str, fasta: FASTA, count: int = 1):
|
|
137
137
|
for i in range(len(structure)):
|
138
138
|
if structure[i] != " ":
|
139
139
|
break
|
140
|
+
|
140
141
|
j = structure.find(" CS")
|
142
|
+
while structure[j] == " ":
|
143
|
+
j -= 1
|
144
|
+
j += 1
|
141
145
|
|
142
146
|
structure = structure[i:j]
|
143
147
|
sequence = sequence[i:j].upper()
|
@@ -210,6 +214,15 @@ def analyze_cmsearch(cmsearch: str, fasta: FASTA, count: int = 1):
|
|
210
214
|
|
211
215
|
assert len(sequence) == len(structure)
|
212
216
|
|
217
|
+
i = fasta.sequence.find(sequence)
|
218
|
+
structure = (
|
219
|
+
"." * i + structure + "." * (len(fasta.sequence) - len(sequence) - i)
|
220
|
+
)
|
221
|
+
sequence = fasta.sequence
|
222
|
+
|
223
|
+
assert len(sequence) == len(structure)
|
224
|
+
assert len(sequence) == len(fasta.sequence)
|
225
|
+
|
213
226
|
structure = (
|
214
227
|
structure.replace(":", ".")
|
215
228
|
.replace("-", ".")
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|