biotite 0.39.0__cp312-cp312-win_amd64.whl → 0.40.0__cp312-cp312-win_amd64.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.

Potentially problematic release.


This version of biotite might be problematic. Click here for more details.

Files changed (104) hide show
  1. biotite/__init__.py +3 -3
  2. biotite/application/dssp/app.py +18 -18
  3. biotite/database/rcsb/download.py +19 -14
  4. biotite/sequence/align/banded.c +256 -235
  5. biotite/sequence/align/banded.cp312-win_amd64.pyd +0 -0
  6. biotite/sequence/align/kmeralphabet.c +241 -220
  7. biotite/sequence/align/kmeralphabet.cp312-win_amd64.pyd +0 -0
  8. biotite/sequence/align/kmersimilarity.c +213 -194
  9. biotite/sequence/align/kmersimilarity.cp312-win_amd64.pyd +0 -0
  10. biotite/sequence/align/kmertable.cp312-win_amd64.pyd +0 -0
  11. biotite/sequence/align/kmertable.cpp +231 -203
  12. biotite/sequence/align/localgapped.c +256 -235
  13. biotite/sequence/align/localgapped.cp312-win_amd64.pyd +0 -0
  14. biotite/sequence/align/localungapped.c +233 -212
  15. biotite/sequence/align/localungapped.cp312-win_amd64.pyd +0 -0
  16. biotite/sequence/align/multiple.c +253 -232
  17. biotite/sequence/align/multiple.cp312-win_amd64.pyd +0 -0
  18. biotite/sequence/align/pairwise.c +272 -251
  19. biotite/sequence/align/pairwise.cp312-win_amd64.pyd +0 -0
  20. biotite/sequence/align/permutation.c +213 -194
  21. biotite/sequence/align/permutation.cp312-win_amd64.pyd +0 -0
  22. biotite/sequence/align/selector.c +215 -195
  23. biotite/sequence/align/selector.cp312-win_amd64.pyd +0 -0
  24. biotite/sequence/align/tracetable.c +213 -193
  25. biotite/sequence/align/tracetable.cp312-win_amd64.pyd +0 -0
  26. biotite/sequence/codec.c +233 -212
  27. biotite/sequence/codec.cp312-win_amd64.pyd +0 -0
  28. biotite/sequence/phylo/nj.c +213 -194
  29. biotite/sequence/phylo/nj.cp312-win_amd64.pyd +0 -0
  30. biotite/sequence/phylo/tree.c +225 -200
  31. biotite/sequence/phylo/tree.cp312-win_amd64.pyd +0 -0
  32. biotite/sequence/phylo/upgma.c +213 -194
  33. biotite/sequence/phylo/upgma.cp312-win_amd64.pyd +0 -0
  34. biotite/structure/basepairs.py +7 -12
  35. biotite/structure/bonds.c +1173 -1224
  36. biotite/structure/bonds.cp312-win_amd64.pyd +0 -0
  37. biotite/structure/celllist.c +215 -195
  38. biotite/structure/celllist.cp312-win_amd64.pyd +0 -0
  39. biotite/structure/charges.c +1050 -1099
  40. biotite/structure/charges.cp312-win_amd64.pyd +0 -0
  41. biotite/structure/filter.py +30 -37
  42. biotite/structure/info/__init__.py +5 -8
  43. biotite/structure/info/atoms.py +25 -67
  44. biotite/structure/info/bonds.py +46 -100
  45. biotite/structure/info/ccd/README.rst +8 -0
  46. biotite/structure/info/ccd/amino_acids.txt +1646 -0
  47. biotite/structure/info/ccd/carbohydrates.txt +1133 -0
  48. biotite/structure/info/ccd/components.bcif +0 -0
  49. biotite/structure/info/ccd/nucleotides.txt +797 -0
  50. biotite/structure/info/ccd.py +95 -0
  51. biotite/structure/info/groups.py +90 -0
  52. biotite/structure/info/masses.py +21 -20
  53. biotite/structure/info/misc.py +11 -22
  54. biotite/structure/info/standardize.py +17 -12
  55. biotite/structure/io/__init__.py +2 -4
  56. biotite/structure/io/ctab.py +1 -1
  57. biotite/structure/io/general.py +37 -43
  58. biotite/structure/io/mmtf/__init__.py +3 -0
  59. biotite/structure/io/mmtf/convertarray.c +217 -196
  60. biotite/structure/io/mmtf/convertarray.cp312-win_amd64.pyd +0 -0
  61. biotite/structure/io/mmtf/convertfile.c +215 -195
  62. biotite/structure/io/mmtf/convertfile.cp312-win_amd64.pyd +0 -0
  63. biotite/structure/io/mmtf/decode.c +223 -202
  64. biotite/structure/io/mmtf/decode.cp312-win_amd64.pyd +0 -0
  65. biotite/structure/io/mmtf/encode.c +213 -194
  66. biotite/structure/io/mmtf/encode.cp312-win_amd64.pyd +0 -0
  67. biotite/structure/io/mmtf/file.py +34 -26
  68. biotite/structure/io/npz/__init__.py +3 -0
  69. biotite/structure/io/npz/file.py +21 -18
  70. biotite/structure/io/pdb/__init__.py +3 -3
  71. biotite/structure/io/pdb/file.py +5 -3
  72. biotite/structure/io/pdb/hybrid36.c +63 -43
  73. biotite/structure/io/pdb/hybrid36.cp312-win_amd64.pyd +0 -0
  74. biotite/structure/io/pdbqt/file.py +32 -32
  75. biotite/structure/io/pdbx/__init__.py +13 -6
  76. biotite/structure/io/pdbx/bcif.py +649 -0
  77. biotite/structure/io/pdbx/cif.py +1028 -0
  78. biotite/structure/io/pdbx/component.py +243 -0
  79. biotite/structure/io/pdbx/convert.py +707 -359
  80. biotite/structure/io/pdbx/encoding.c +112803 -0
  81. biotite/structure/io/pdbx/encoding.cp312-win_amd64.pyd +0 -0
  82. biotite/structure/io/pdbx/error.py +14 -0
  83. biotite/structure/io/pdbx/legacy.py +267 -0
  84. biotite/structure/molecules.py +151 -151
  85. biotite/structure/sasa.c +213 -194
  86. biotite/structure/sasa.cp312-win_amd64.pyd +0 -0
  87. biotite/structure/superimpose.py +158 -115
  88. {biotite-0.39.0.dist-info → biotite-0.40.0.dist-info}/METADATA +2 -2
  89. {biotite-0.39.0.dist-info → biotite-0.40.0.dist-info}/RECORD +92 -90
  90. {biotite-0.39.0.dist-info → biotite-0.40.0.dist-info}/WHEEL +1 -1
  91. biotite/structure/info/amino_acids.json +0 -1556
  92. biotite/structure/info/amino_acids.py +0 -42
  93. biotite/structure/info/carbohydrates.json +0 -1122
  94. biotite/structure/info/carbohydrates.py +0 -39
  95. biotite/structure/info/intra_bonds.msgpack +0 -0
  96. biotite/structure/info/link_types.msgpack +0 -1
  97. biotite/structure/info/nucleotides.json +0 -772
  98. biotite/structure/info/nucleotides.py +0 -39
  99. biotite/structure/info/residue_masses.msgpack +0 -0
  100. biotite/structure/info/residue_names.msgpack +0 -3
  101. biotite/structure/info/residues.msgpack +0 -0
  102. biotite/structure/io/pdbx/file.py +0 -652
  103. {biotite-0.39.0.dist-info → biotite-0.40.0.dist-info}/LICENSE.rst +0 -0
  104. {biotite-0.39.0.dist-info → biotite-0.40.0.dist-info}/top_level.txt +0 -0
@@ -1,39 +0,0 @@
1
- # This source code is part of the Biotite package and is distributed
2
- # under the 3-Clause BSD License. Please see 'LICENSE.rst' for further
3
- # information.
4
-
5
- __name__ = "biotite.structure.info"
6
- __author__ = "Tom David Müller"
7
- __all__ = ["carbohydrate_names"]
8
-
9
- import json
10
- import numpy as np
11
- from os.path import join, dirname, realpath
12
-
13
-
14
- _info_dir = dirname(realpath(__file__))
15
- # Data is taken from
16
- # ftp://ftp.wwpdb.org/pub/pdb/data/monomers/components.cif
17
- # (2022/09/17)
18
- # The json-file contains all three-letter-codes of the components where
19
- # the data item `_chem_comp.type` is equal to one of the following
20
- # values:
21
- # D-SACCHARIDE; D-saccharide; D-saccharide, alpha linking;
22
- # D-saccharide, beta linking; L-SACCHARIDE; L-saccharide;
23
- # L-saccharide, alpha linking; L-saccharide, beta linking; SACCHARIDE;
24
- # saccharide
25
- with open(join(_info_dir, "carbohydrates.json"), "r") as file:
26
- _carbohydrates = json.load(file)
27
-
28
- def carbohydrate_names():
29
- """
30
- Get a list of carbohydrate three-letter codes according to the PDB
31
- chemical compound dictionary.
32
-
33
- Returns
34
- -------
35
- carbohydrate_names : list
36
- A list of three-letter-codes containing residues that are
37
- saccharide monomers.
38
- """
39
- return _carbohydrates
Binary file