RNApolis 0.4.0__tar.gz → 0.4.1__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {rnapolis-0.4.0/src/RNApolis.egg-info → rnapolis-0.4.1}/PKG-INFO +1 -1
- {rnapolis-0.4.0 → rnapolis-0.4.1}/setup.py +1 -1
- {rnapolis-0.4.0 → rnapolis-0.4.1/src/RNApolis.egg-info}/PKG-INFO +1 -1
- {rnapolis-0.4.0 → rnapolis-0.4.1}/src/rnapolis/tertiary.py +14 -1
- {rnapolis-0.4.0 → rnapolis-0.4.1}/LICENSE +0 -0
- {rnapolis-0.4.0 → rnapolis-0.4.1}/README.md +0 -0
- {rnapolis-0.4.0 → rnapolis-0.4.1}/pyproject.toml +0 -0
- {rnapolis-0.4.0 → rnapolis-0.4.1}/setup.cfg +0 -0
- {rnapolis-0.4.0 → rnapolis-0.4.1}/src/RNApolis.egg-info/SOURCES.txt +0 -0
- {rnapolis-0.4.0 → rnapolis-0.4.1}/src/RNApolis.egg-info/dependency_links.txt +0 -0
- {rnapolis-0.4.0 → rnapolis-0.4.1}/src/RNApolis.egg-info/entry_points.txt +0 -0
- {rnapolis-0.4.0 → rnapolis-0.4.1}/src/RNApolis.egg-info/requires.txt +0 -0
- {rnapolis-0.4.0 → rnapolis-0.4.1}/src/RNApolis.egg-info/top_level.txt +0 -0
- {rnapolis-0.4.0 → rnapolis-0.4.1}/src/rnapolis/annotator.py +0 -0
- {rnapolis-0.4.0 → rnapolis-0.4.1}/src/rnapolis/clashfinder.py +0 -0
- {rnapolis-0.4.0 → rnapolis-0.4.1}/src/rnapolis/common.py +0 -0
- {rnapolis-0.4.0 → rnapolis-0.4.1}/src/rnapolis/metareader.py +0 -0
- {rnapolis-0.4.0 → rnapolis-0.4.1}/src/rnapolis/molecule_filter.py +0 -0
- {rnapolis-0.4.0 → rnapolis-0.4.1}/src/rnapolis/motif_extractor.py +0 -0
- {rnapolis-0.4.0 → rnapolis-0.4.1}/src/rnapolis/parser.py +0 -0
- {rnapolis-0.4.0 → rnapolis-0.4.1}/src/rnapolis/rfam_folder.py +0 -0
- {rnapolis-0.4.0 → rnapolis-0.4.1}/src/rnapolis/transformer.py +0 -0
- {rnapolis-0.4.0 → rnapolis-0.4.1}/src/rnapolis/util.py +0 -0
- {rnapolis-0.4.0 → rnapolis-0.4.1}/tests/test_annotator.py +0 -0
- {rnapolis-0.4.0 → rnapolis-0.4.1}/tests/test_bugfixes.py +0 -0
- {rnapolis-0.4.0 → rnapolis-0.4.1}/tests/test_common.py +0 -0
- {rnapolis-0.4.0 → rnapolis-0.4.1}/tests/test_metareader.py +0 -0
- {rnapolis-0.4.0 → rnapolis-0.4.1}/tests/test_parser.py +0 -0
- {rnapolis-0.4.0 → rnapolis-0.4.1}/tests/test_quadruplexes.py +0 -0
- {rnapolis-0.4.0 → rnapolis-0.4.1}/tests/test_rfam_folder.py +0 -0
- {rnapolis-0.4.0 → rnapolis-0.4.1}/tests/test_tertiary.py +0 -0
@@ -548,7 +548,20 @@ class Mapping2D3D:
|
|
548
548
|
result: Dict[int, List] = {}
|
549
549
|
residue_map: Dict[Residue3D, int] = {}
|
550
550
|
i = 1
|
551
|
-
|
551
|
+
|
552
|
+
for j, residue in enumerate(self.structure3d.residues):
|
553
|
+
if self.find_gaps and j > 0:
|
554
|
+
previous = self.structure3d.residues[j - 1]
|
555
|
+
if (
|
556
|
+
previous.is_nucleotide
|
557
|
+
and residue.is_nucleotide
|
558
|
+
and previous.label
|
559
|
+
and residue.label
|
560
|
+
and previous.label.chain == residue.label.chain
|
561
|
+
):
|
562
|
+
for k in range(residue.label.number - previous.label.number - 1):
|
563
|
+
result[i] = [i, "?", 0]
|
564
|
+
i += 1
|
552
565
|
if residue.is_nucleotide:
|
553
566
|
result[i] = [i, residue.one_letter_name, 0]
|
554
567
|
residue_map[residue] = i
|
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
|
File without changes
|