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.
Files changed (31) hide show
  1. {rnapolis-0.4.0/src/RNApolis.egg-info → rnapolis-0.4.1}/PKG-INFO +1 -1
  2. {rnapolis-0.4.0 → rnapolis-0.4.1}/setup.py +1 -1
  3. {rnapolis-0.4.0 → rnapolis-0.4.1/src/RNApolis.egg-info}/PKG-INFO +1 -1
  4. {rnapolis-0.4.0 → rnapolis-0.4.1}/src/rnapolis/tertiary.py +14 -1
  5. {rnapolis-0.4.0 → rnapolis-0.4.1}/LICENSE +0 -0
  6. {rnapolis-0.4.0 → rnapolis-0.4.1}/README.md +0 -0
  7. {rnapolis-0.4.0 → rnapolis-0.4.1}/pyproject.toml +0 -0
  8. {rnapolis-0.4.0 → rnapolis-0.4.1}/setup.cfg +0 -0
  9. {rnapolis-0.4.0 → rnapolis-0.4.1}/src/RNApolis.egg-info/SOURCES.txt +0 -0
  10. {rnapolis-0.4.0 → rnapolis-0.4.1}/src/RNApolis.egg-info/dependency_links.txt +0 -0
  11. {rnapolis-0.4.0 → rnapolis-0.4.1}/src/RNApolis.egg-info/entry_points.txt +0 -0
  12. {rnapolis-0.4.0 → rnapolis-0.4.1}/src/RNApolis.egg-info/requires.txt +0 -0
  13. {rnapolis-0.4.0 → rnapolis-0.4.1}/src/RNApolis.egg-info/top_level.txt +0 -0
  14. {rnapolis-0.4.0 → rnapolis-0.4.1}/src/rnapolis/annotator.py +0 -0
  15. {rnapolis-0.4.0 → rnapolis-0.4.1}/src/rnapolis/clashfinder.py +0 -0
  16. {rnapolis-0.4.0 → rnapolis-0.4.1}/src/rnapolis/common.py +0 -0
  17. {rnapolis-0.4.0 → rnapolis-0.4.1}/src/rnapolis/metareader.py +0 -0
  18. {rnapolis-0.4.0 → rnapolis-0.4.1}/src/rnapolis/molecule_filter.py +0 -0
  19. {rnapolis-0.4.0 → rnapolis-0.4.1}/src/rnapolis/motif_extractor.py +0 -0
  20. {rnapolis-0.4.0 → rnapolis-0.4.1}/src/rnapolis/parser.py +0 -0
  21. {rnapolis-0.4.0 → rnapolis-0.4.1}/src/rnapolis/rfam_folder.py +0 -0
  22. {rnapolis-0.4.0 → rnapolis-0.4.1}/src/rnapolis/transformer.py +0 -0
  23. {rnapolis-0.4.0 → rnapolis-0.4.1}/src/rnapolis/util.py +0 -0
  24. {rnapolis-0.4.0 → rnapolis-0.4.1}/tests/test_annotator.py +0 -0
  25. {rnapolis-0.4.0 → rnapolis-0.4.1}/tests/test_bugfixes.py +0 -0
  26. {rnapolis-0.4.0 → rnapolis-0.4.1}/tests/test_common.py +0 -0
  27. {rnapolis-0.4.0 → rnapolis-0.4.1}/tests/test_metareader.py +0 -0
  28. {rnapolis-0.4.0 → rnapolis-0.4.1}/tests/test_parser.py +0 -0
  29. {rnapolis-0.4.0 → rnapolis-0.4.1}/tests/test_quadruplexes.py +0 -0
  30. {rnapolis-0.4.0 → rnapolis-0.4.1}/tests/test_rfam_folder.py +0 -0
  31. {rnapolis-0.4.0 → rnapolis-0.4.1}/tests/test_tertiary.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: RNApolis
3
- Version: 0.4.0
3
+ Version: 0.4.1
4
4
  Summary: A Python library containing RNA-related bioinformatics functions and classes
5
5
  Home-page: https://github.com/tzok/rnapolis-py
6
6
  Author: Tomasz Zok
@@ -5,7 +5,7 @@ with open("README.md") as f:
5
5
 
6
6
  setup(
7
7
  name="RNApolis",
8
- version="0.4.0",
8
+ version="0.4.1",
9
9
  packages=["rnapolis"],
10
10
  package_dir={"": "src"},
11
11
  author="Tomasz Zok",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: RNApolis
3
- Version: 0.4.0
3
+ Version: 0.4.1
4
4
  Summary: A Python library containing RNA-related bioinformatics functions and classes
5
5
  Home-page: https://github.com/tzok/rnapolis-py
6
6
  Author: Tomasz Zok
@@ -548,7 +548,20 @@ class Mapping2D3D:
548
548
  result: Dict[int, List] = {}
549
549
  residue_map: Dict[Residue3D, int] = {}
550
550
  i = 1
551
- for residue in self.structure3d.residues:
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