RNApolis 0.3.6__tar.gz → 0.3.7__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {RNApolis-0.3.6/src/RNApolis.egg-info → RNApolis-0.3.7}/PKG-INFO +1 -1
- {RNApolis-0.3.6 → RNApolis-0.3.7}/setup.py +1 -1
- {RNApolis-0.3.6 → RNApolis-0.3.7/src/RNApolis.egg-info}/PKG-INFO +1 -1
- {RNApolis-0.3.6 → RNApolis-0.3.7}/src/rnapolis/rfam_folder.py +9 -0
- {RNApolis-0.3.6 → RNApolis-0.3.7}/tests/test_rfam_folder.py +8 -0
- {RNApolis-0.3.6 → RNApolis-0.3.7}/LICENSE +0 -0
- {RNApolis-0.3.6 → RNApolis-0.3.7}/README.md +0 -0
- {RNApolis-0.3.6 → RNApolis-0.3.7}/pyproject.toml +0 -0
- {RNApolis-0.3.6 → RNApolis-0.3.7}/setup.cfg +0 -0
- {RNApolis-0.3.6 → RNApolis-0.3.7}/src/RNApolis.egg-info/SOURCES.txt +0 -0
- {RNApolis-0.3.6 → RNApolis-0.3.7}/src/RNApolis.egg-info/dependency_links.txt +0 -0
- {RNApolis-0.3.6 → RNApolis-0.3.7}/src/RNApolis.egg-info/entry_points.txt +0 -0
- {RNApolis-0.3.6 → RNApolis-0.3.7}/src/RNApolis.egg-info/requires.txt +0 -0
- {RNApolis-0.3.6 → RNApolis-0.3.7}/src/RNApolis.egg-info/top_level.txt +0 -0
- {RNApolis-0.3.6 → RNApolis-0.3.7}/src/rnapolis/annotator.py +0 -0
- {RNApolis-0.3.6 → RNApolis-0.3.7}/src/rnapolis/clashfinder.py +0 -0
- {RNApolis-0.3.6 → RNApolis-0.3.7}/src/rnapolis/common.py +0 -0
- {RNApolis-0.3.6 → RNApolis-0.3.7}/src/rnapolis/metareader.py +0 -0
- {RNApolis-0.3.6 → RNApolis-0.3.7}/src/rnapolis/molecule_filter.py +0 -0
- {RNApolis-0.3.6 → RNApolis-0.3.7}/src/rnapolis/motif_extractor.py +0 -0
- {RNApolis-0.3.6 → RNApolis-0.3.7}/src/rnapolis/parser.py +0 -0
- {RNApolis-0.3.6 → RNApolis-0.3.7}/src/rnapolis/tertiary.py +0 -0
- {RNApolis-0.3.6 → RNApolis-0.3.7}/src/rnapolis/transformer.py +0 -0
- {RNApolis-0.3.6 → RNApolis-0.3.7}/src/rnapolis/util.py +0 -0
- {RNApolis-0.3.6 → RNApolis-0.3.7}/tests/test_annotator.py +0 -0
- {RNApolis-0.3.6 → RNApolis-0.3.7}/tests/test_bugfixes.py +0 -0
- {RNApolis-0.3.6 → RNApolis-0.3.7}/tests/test_common.py +0 -0
- {RNApolis-0.3.6 → RNApolis-0.3.7}/tests/test_metareader.py +0 -0
- {RNApolis-0.3.6 → RNApolis-0.3.7}/tests/test_parser.py +0 -0
- {RNApolis-0.3.6 → RNApolis-0.3.7}/tests/test_quadruplexes.py +0 -0
- {RNApolis-0.3.6 → RNApolis-0.3.7}/tests/test_tertiary.py +0 -0
@@ -214,6 +214,15 @@ def analyze_cmsearch(cmsearch: str, fasta: FASTA, count: int = 1):
|
|
214
214
|
|
215
215
|
assert len(sequence) == len(structure)
|
216
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
|
+
|
217
226
|
structure = (
|
218
227
|
structure.replace(":", ".")
|
219
228
|
.replace("-", ".")
|
@@ -11,3 +11,11 @@ IN_GITHUB_ACTIONS = os.getenv("GITHUB_ACTIONS") == "true"
|
|
11
11
|
def test_GK000002():
|
12
12
|
fasta = parse_fasta("tests/GK000002.2-66269475-66272524.fa")
|
13
13
|
generate_consensus_secondary_structure(fasta[0], "RF02540", False)
|
14
|
+
|
15
|
+
|
16
|
+
@pytest.mark.skipif(IN_GITHUB_ACTIONS, reason="Test doesn't work in Github Actions.")
|
17
|
+
def test_LJAJ01000009():
|
18
|
+
fasta = parse_fasta("tests/LJAJ01000009.1-42413-42384.fa")
|
19
|
+
result = generate_consensus_secondary_structure(fasta[0], "RF01315", False)
|
20
|
+
sequence = result[0].split("\n")[1]
|
21
|
+
assert len(sequence) == len(fasta[0].sequence)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|