biotite 0.39.0__cp311-cp311-macosx_11_0_arm64.whl → 0.41.0__cp311-cp311-macosx_11_0_arm64.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.
- biotite/__init__.py +3 -3
- biotite/application/dssp/app.py +18 -18
- biotite/database/pubchem/download.py +23 -23
- biotite/database/pubchem/query.py +7 -7
- biotite/database/rcsb/download.py +19 -14
- biotite/file.py +17 -9
- biotite/sequence/align/banded.c +258 -237
- biotite/sequence/align/banded.cpython-311-darwin.so +0 -0
- biotite/sequence/align/cigar.py +60 -15
- biotite/sequence/align/kmeralphabet.c +243 -222
- biotite/sequence/align/kmeralphabet.cpython-311-darwin.so +0 -0
- biotite/sequence/align/kmersimilarity.c +215 -196
- biotite/sequence/align/kmersimilarity.cpython-311-darwin.so +0 -0
- biotite/sequence/align/kmertable.cpp +233 -205
- biotite/sequence/align/kmertable.cpython-311-darwin.so +0 -0
- biotite/sequence/align/localgapped.c +258 -237
- biotite/sequence/align/localgapped.cpython-311-darwin.so +0 -0
- biotite/sequence/align/localungapped.c +235 -214
- biotite/sequence/align/localungapped.cpython-311-darwin.so +0 -0
- biotite/sequence/align/multiple.c +255 -234
- biotite/sequence/align/multiple.cpython-311-darwin.so +0 -0
- biotite/sequence/align/pairwise.c +274 -253
- biotite/sequence/align/pairwise.cpython-311-darwin.so +0 -0
- biotite/sequence/align/permutation.c +215 -196
- biotite/sequence/align/permutation.cpython-311-darwin.so +0 -0
- biotite/sequence/align/selector.c +217 -197
- biotite/sequence/align/selector.cpython-311-darwin.so +0 -0
- biotite/sequence/align/tracetable.c +215 -195
- biotite/sequence/align/tracetable.cpython-311-darwin.so +0 -0
- biotite/sequence/annotation.py +2 -2
- biotite/sequence/codec.c +235 -214
- biotite/sequence/codec.cpython-311-darwin.so +0 -0
- biotite/sequence/io/fasta/convert.py +27 -24
- biotite/sequence/phylo/nj.c +215 -196
- biotite/sequence/phylo/nj.cpython-311-darwin.so +0 -0
- biotite/sequence/phylo/tree.c +227 -202
- biotite/sequence/phylo/tree.cpython-311-darwin.so +0 -0
- biotite/sequence/phylo/upgma.c +215 -196
- biotite/sequence/phylo/upgma.cpython-311-darwin.so +0 -0
- biotite/structure/__init__.py +2 -0
- biotite/structure/basepairs.py +7 -12
- biotite/structure/bonds.c +1437 -1279
- biotite/structure/bonds.cpython-311-darwin.so +0 -0
- biotite/structure/celllist.c +217 -197
- biotite/structure/celllist.cpython-311-darwin.so +0 -0
- biotite/structure/charges.c +1052 -1101
- biotite/structure/charges.cpython-311-darwin.so +0 -0
- biotite/structure/dotbracket.py +2 -0
- biotite/structure/filter.py +30 -37
- biotite/structure/info/__init__.py +5 -8
- biotite/structure/info/atoms.py +31 -68
- biotite/structure/info/bonds.py +47 -101
- biotite/structure/info/ccd/README.rst +8 -0
- biotite/structure/info/ccd/amino_acids.txt +1663 -0
- biotite/structure/info/ccd/carbohydrates.txt +1135 -0
- biotite/structure/info/ccd/components.bcif +0 -0
- biotite/structure/info/ccd/nucleotides.txt +798 -0
- biotite/structure/info/ccd.py +95 -0
- biotite/structure/info/groups.py +90 -0
- biotite/structure/info/masses.py +21 -20
- biotite/structure/info/misc.py +78 -25
- biotite/structure/info/standardize.py +17 -12
- biotite/structure/integrity.py +19 -70
- biotite/structure/io/__init__.py +2 -4
- biotite/structure/io/ctab.py +12 -106
- biotite/structure/io/general.py +167 -181
- biotite/structure/io/gro/file.py +16 -16
- biotite/structure/io/mmtf/__init__.py +3 -0
- biotite/structure/io/mmtf/convertarray.c +219 -198
- biotite/structure/io/mmtf/convertarray.cpython-311-darwin.so +0 -0
- biotite/structure/io/mmtf/convertfile.c +217 -197
- biotite/structure/io/mmtf/convertfile.cpython-311-darwin.so +0 -0
- biotite/structure/io/mmtf/decode.c +225 -204
- biotite/structure/io/mmtf/decode.cpython-311-darwin.so +0 -0
- biotite/structure/io/mmtf/encode.c +215 -196
- biotite/structure/io/mmtf/encode.cpython-311-darwin.so +0 -0
- biotite/structure/io/mmtf/file.py +34 -26
- biotite/structure/io/mol/__init__.py +4 -2
- biotite/structure/io/mol/convert.py +71 -7
- biotite/structure/io/mol/ctab.py +414 -0
- biotite/structure/io/mol/header.py +116 -0
- biotite/structure/io/mol/{file.py → mol.py} +69 -82
- biotite/structure/io/mol/sdf.py +909 -0
- biotite/structure/io/npz/__init__.py +3 -0
- biotite/structure/io/npz/file.py +21 -18
- biotite/structure/io/pdb/__init__.py +3 -3
- biotite/structure/io/pdb/file.py +89 -34
- biotite/structure/io/pdb/hybrid36.c +63 -43
- biotite/structure/io/pdb/hybrid36.cpython-311-darwin.so +0 -0
- biotite/structure/io/pdbqt/file.py +32 -32
- biotite/structure/io/pdbx/__init__.py +12 -6
- biotite/structure/io/pdbx/bcif.py +648 -0
- biotite/structure/io/pdbx/cif.py +1032 -0
- biotite/structure/io/pdbx/component.py +246 -0
- biotite/structure/io/pdbx/convert.py +858 -386
- biotite/structure/io/pdbx/encoding.c +112813 -0
- biotite/structure/io/pdbx/encoding.cpython-311-darwin.so +0 -0
- biotite/structure/io/pdbx/legacy.py +267 -0
- biotite/structure/molecules.py +151 -151
- biotite/structure/repair.py +253 -0
- biotite/structure/sasa.c +215 -196
- biotite/structure/sasa.cpython-311-darwin.so +0 -0
- biotite/structure/sequence.py +112 -0
- biotite/structure/superimpose.py +618 -116
- {biotite-0.39.0.dist-info → biotite-0.41.0.dist-info}/METADATA +3 -3
- {biotite-0.39.0.dist-info → biotite-0.41.0.dist-info}/RECORD +109 -103
- {biotite-0.39.0.dist-info → biotite-0.41.0.dist-info}/WHEEL +1 -1
- biotite/structure/info/amino_acids.json +0 -1556
- biotite/structure/info/amino_acids.py +0 -42
- biotite/structure/info/carbohydrates.json +0 -1122
- biotite/structure/info/carbohydrates.py +0 -39
- biotite/structure/info/intra_bonds.msgpack +0 -0
- biotite/structure/info/link_types.msgpack +0 -1
- biotite/structure/info/nucleotides.json +0 -772
- biotite/structure/info/nucleotides.py +0 -39
- biotite/structure/info/residue_masses.msgpack +0 -0
- biotite/structure/info/residue_names.msgpack +0 -3
- biotite/structure/info/residues.msgpack +0 -0
- biotite/structure/io/pdbx/file.py +0 -652
- {biotite-0.39.0.dist-info → biotite-0.41.0.dist-info}/LICENSE.rst +0 -0
- {biotite-0.39.0.dist-info → biotite-0.41.0.dist-info}/top_level.txt +0 -0
|
@@ -42,48 +42,48 @@ class PDBQTFile(TextFile):
|
|
|
42
42
|
>>> mask = file.set_structure(ligand, rotatable_bonds="all")
|
|
43
43
|
>>> # Print removed nonpolar hydrogen atoms
|
|
44
44
|
>>> print(ligand[~mask])
|
|
45
|
-
HET 0 BTN H101 H 3.
|
|
46
|
-
HET 0 BTN H102 H 4.
|
|
47
|
-
HET 0 BTN H91 H 2.
|
|
48
|
-
HET 0 BTN H92 H 2.
|
|
49
|
-
HET 0 BTN H81 H 1.
|
|
50
|
-
HET 0 BTN H82 H 1.
|
|
51
|
-
HET 0 BTN H71 H 0.
|
|
52
|
-
HET 0 BTN H72 H 0.020 -0.
|
|
53
|
-
HET 0 BTN H2 H -0.
|
|
54
|
-
HET 0 BTN H61 H -3.
|
|
55
|
-
HET 0 BTN H62 H -3.
|
|
56
|
-
HET 0 BTN H5 H -4.
|
|
57
|
-
HET 0 BTN H4 H -2.
|
|
45
|
+
HET 0 BTN H101 H 3.740 1.170 0.970
|
|
46
|
+
HET 0 BTN H102 H 4.070 1.340 -0.770
|
|
47
|
+
HET 0 BTN H91 H 2.800 -0.740 -1.210
|
|
48
|
+
HET 0 BTN H92 H 2.480 -0.910 0.530
|
|
49
|
+
HET 0 BTN H81 H 1.290 1.260 0.520
|
|
50
|
+
HET 0 BTN H82 H 1.620 1.440 -1.220
|
|
51
|
+
HET 0 BTN H71 H 0.350 -0.650 -1.660
|
|
52
|
+
HET 0 BTN H72 H 0.020 -0.820 0.080
|
|
53
|
+
HET 0 BTN H2 H -0.840 1.580 -1.630
|
|
54
|
+
HET 0 BTN H61 H -3.800 1.840 1.290
|
|
55
|
+
HET 0 BTN H62 H -3.370 2.740 -0.200
|
|
56
|
+
HET 0 BTN H5 H -4.310 0.810 -1.210
|
|
57
|
+
HET 0 BTN H4 H -2.450 -0.040 -2.250
|
|
58
58
|
>>> print(file)
|
|
59
59
|
ROOT
|
|
60
|
-
HETATM 1 C11 BTN 0 5.
|
|
61
|
-
HETATM 2 O11 BTN 0 4.
|
|
60
|
+
HETATM 1 C11 BTN 0 5.090 -0.280 0.170 1.00 0.00 0.258 C
|
|
61
|
+
HETATM 2 O11 BTN 0 4.960 -1.470 0.030 1.00 0.00 -0.264 OA
|
|
62
62
|
ENDROOT
|
|
63
63
|
BRANCH 1 3
|
|
64
|
-
HETATM 3 O12 BTN 0 6.
|
|
65
|
-
HETATM 17 HO2 BTN 0 7.
|
|
64
|
+
HETATM 3 O12 BTN 0 6.300 0.230 0.440 1.00 0.00 -0.331 OA
|
|
65
|
+
HETATM 17 HO2 BTN 0 7.030 -0.390 0.520 1.00 0.00 0.221 HD
|
|
66
66
|
ENDBRANCH 1 3
|
|
67
67
|
BRANCH 1 4
|
|
68
|
-
HETATM 4 C10 BTN 0 3.
|
|
68
|
+
HETATM 4 C10 BTN 0 3.900 0.630 0.040 1.00 0.00 0.105 C
|
|
69
69
|
BRANCH 4 5
|
|
70
|
-
HETATM 5 C9 BTN 0 2.
|
|
70
|
+
HETATM 5 C9 BTN 0 2.650 -0.200 -0.280 1.00 0.00 0.010 C
|
|
71
71
|
BRANCH 5 6
|
|
72
|
-
HETATM 6 C8 BTN 0 1.440 0.
|
|
72
|
+
HETATM 6 C8 BTN 0 1.440 0.720 -0.410 1.00 0.00 0.002 C
|
|
73
73
|
BRANCH 6 7
|
|
74
|
-
HETATM 7 C7 BTN 0 0.
|
|
74
|
+
HETATM 7 C7 BTN 0 0.200 -0.110 -0.730 1.00 0.00 0.016 C
|
|
75
75
|
BRANCH 7 8
|
|
76
|
-
HETATM 8 C2 BTN 0 -1.
|
|
77
|
-
HETATM 9 S1 BTN 0 -1.
|
|
78
|
-
HETATM 10 C6 BTN 0 -3.
|
|
79
|
-
HETATM 11 C5 BTN 0 -3.530 0.
|
|
80
|
-
HETATM 12 N1 BTN 0 -3.970 -0.
|
|
81
|
-
HETATM 13 C3 BTN 0 -3.
|
|
82
|
-
HETATM 14 O3 BTN 0 -3.
|
|
83
|
-
HETATM 15 N2 BTN 0 -2.
|
|
84
|
-
HETATM 16 C4 BTN 0 -2.
|
|
85
|
-
HETATM 18 HN1 BTN 0 -4.
|
|
86
|
-
HETATM 19 HN2 BTN 0 -1.
|
|
76
|
+
HETATM 8 C2 BTN 0 -1.020 0.820 -0.860 1.00 0.00 0.065 C
|
|
77
|
+
HETATM 9 S1 BTN 0 -1.420 1.600 0.750 1.00 0.00 -0.154 SA
|
|
78
|
+
HETATM 10 C6 BTN 0 -3.200 1.830 0.370 1.00 0.00 0.090 C
|
|
79
|
+
HETATM 11 C5 BTN 0 -3.530 0.580 -0.480 1.00 0.00 0.091 C
|
|
80
|
+
HETATM 12 N1 BTN 0 -3.970 -0.510 0.410 1.00 0.00 -0.239 NA
|
|
81
|
+
HETATM 13 C3 BTN 0 -3.140 -1.550 0.270 1.00 0.00 0.272 C
|
|
82
|
+
HETATM 14 O3 BTN 0 -3.270 -2.590 0.890 1.00 0.00 -0.259 OA
|
|
83
|
+
HETATM 15 N2 BTN 0 -2.150 -1.340 -0.610 1.00 0.00 -0.239 NA
|
|
84
|
+
HETATM 16 C4 BTN 0 -2.290 0.010 -1.170 1.00 0.00 0.093 C
|
|
85
|
+
HETATM 18 HN1 BTN 0 -4.740 -0.470 1.000 1.00 0.00 0.132 HD
|
|
86
|
+
HETATM 19 HN2 BTN 0 -1.460 -1.980 -0.840 1.00 0.00 0.132 HD
|
|
87
87
|
ENDBRANCH 7 8
|
|
88
88
|
ENDBRANCH 6 7
|
|
89
89
|
ENDBRANCH 5 6
|
|
@@ -3,15 +3,21 @@
|
|
|
3
3
|
# information.
|
|
4
4
|
|
|
5
5
|
"""
|
|
6
|
-
This subpackage provides support for the the modern PDBx
|
|
7
|
-
|
|
8
|
-
every field in
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
This subpackage provides support for the the modern PDBx file formats.
|
|
7
|
+
The :class:`CIFFile` class provides dictionary-like access to
|
|
8
|
+
every field in text-based *mmCIF* files.
|
|
9
|
+
:class:`BinaryCIFFile` provides analogous functionality for the
|
|
10
|
+
*BinaryCIF* format.
|
|
11
|
+
Additional utility functions allow reading and writing structures
|
|
12
|
+
from/to these files.
|
|
11
13
|
"""
|
|
12
14
|
|
|
13
15
|
__name__ = "biotite.structure.io.pdbx"
|
|
14
16
|
__author__ = "Patrick Kunzmann"
|
|
15
17
|
|
|
16
18
|
from .convert import *
|
|
17
|
-
from .
|
|
19
|
+
from .bcif import *
|
|
20
|
+
from .cif import *
|
|
21
|
+
from .component import *
|
|
22
|
+
from .encoding import *
|
|
23
|
+
from .legacy import *
|