gemmi-protools 0.1.14__py3-none-any.whl → 0.1.16__py3-none-any.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 gemmi-protools might be problematic. Click here for more details.

@@ -164,8 +164,8 @@ class StructureAligner(object):
164
164
  self.is_aligned = True
165
165
  self.by_query = q_st.chain_ids if query_chains is None else query_chains
166
166
  self.by_ref = r_st.chain_ids if ref_chains is None else ref_chains
167
- self.values["query_chain_ids"] = [q_ch_mapper_r[ch] for ch in self.values["query_chain_ids"]]
168
- self.values["ref_chain_ids"] = [r_ch_mapper_r[ch] for ch in self.values["ref_chain_ids"]]
167
+ self.values["query_chain_ids"] = [q_ch_mapper_r.get(ch, ch) for ch in self.values["query_chain_ids"]]
168
+ self.values["ref_chain_ids"] = [r_ch_mapper_r.get(ch, ch) for ch in self.values["ref_chain_ids"]]
169
169
 
170
170
  finally:
171
171
  if os.path.isdir(tmp_dir):
@@ -221,6 +221,9 @@ def repair_structure(input_file: str,
221
221
  # convert to .pdb
222
222
  st = StructureParser()
223
223
  st.load_from_file(input_file)
224
+ # if exist non-1-letter chain ID, rename
225
+ org2new = st.make_chain_names_to_one_letter()
226
+
224
227
  file_name_r = "in.pdb"
225
228
  in_dir_r = temp_dir
226
229
  st.to_pdb(os.path.join(in_dir_r, file_name_r))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gemmi_protools
3
- Version: 0.1.14
3
+ Version: 0.1.16
4
4
  Summary: An Enhanced tool to process PDB structures based on Gemmi
5
5
  Author: Luo Jiejian
6
6
  Author-email: Luo Jiejian <luojiejian12@mails.ucas.ac.cn>
@@ -14,13 +14,13 @@ gemmi_protools/io/peptide.py,sha256=a2wiEutJmvhl6gDCIzzqRCbmyknk2mwgy2FZ53lXclU,
14
14
  gemmi_protools/io/reader.py,sha256=2AXg1JdYT2LxL6jWVsJkLHQREwAoYR7V-g-hQVgSgGg,16237
15
15
  gemmi_protools/io/struct_info.py,sha256=9nBj1Zer03S8_Wks7L7uRlc9PlbfCKzoaT32pKR58X8,2769
16
16
  gemmi_protools/utils/__init__.py,sha256=F6e1xNT_7lZAWQgNIneH06o2qtWYrHNr_xPUPTwwx5E,29
17
- gemmi_protools/utils/align.py,sha256=O9WNvp9Ih9yFN7usjk2CiLYBkP2hMDV3OAIRIALF1ig,7416
17
+ gemmi_protools/utils/align.py,sha256=wyJDawxW10kdYWEM1F_LUEc3Qo-3_I7P5hFk-r-yqgY,7432
18
18
  gemmi_protools/utils/dockq.py,sha256=XmMwVEy-H4p6sH_HPcDWA3TP77OWdih0fE_BQJDr4pU,4189
19
- gemmi_protools/utils/fixer.py,sha256=WCk2BztM4tSKWp0EGoBFK4Rge330_7LPXNe2kmk-9f0,10046
19
+ gemmi_protools/utils/fixer.py,sha256=yP9pTJ67n7z56UFfe2-eEsS3jkJfG2lP4KAEpXxlrnE,10142
20
20
  gemmi_protools/utils/pdb_annot.py,sha256=nnRlLpjczhCP1ojEgsO3FuVgfsyleDZ34QxqyI8-wr0,11143
21
21
  gemmi_protools/utils/ppi.py,sha256=VWYsdxWwQoS1xwEYj5KB96Zz3F8r5Eyuw6NT3ReD-wc,2330
22
- gemmi_protools-0.1.14.dist-info/licenses/LICENSE,sha256=JuQvKcgj6n11y5y6nXr9rABv3gJSswc4eTCd5WZBtSY,1062
23
- gemmi_protools-0.1.14.dist-info/METADATA,sha256=vU_l0RfkEDmiYAkTl7D-1Bga0MFt7j5PAN1FaMmcaqQ,750
24
- gemmi_protools-0.1.14.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
25
- gemmi_protools-0.1.14.dist-info/top_level.txt,sha256=P12mYJi5O5EKIn5u-RFaWxuix431CgLacSRD7rBid_U,15
26
- gemmi_protools-0.1.14.dist-info/RECORD,,
22
+ gemmi_protools-0.1.16.dist-info/licenses/LICENSE,sha256=JuQvKcgj6n11y5y6nXr9rABv3gJSswc4eTCd5WZBtSY,1062
23
+ gemmi_protools-0.1.16.dist-info/METADATA,sha256=wxrsd_ApvtPBm1rLrPjFCx8mTt3boSg4-7wlx6mJaZU,750
24
+ gemmi_protools-0.1.16.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
25
+ gemmi_protools-0.1.16.dist-info/top_level.txt,sha256=P12mYJi5O5EKIn5u-RFaWxuix431CgLacSRD7rBid_U,15
26
+ gemmi_protools-0.1.16.dist-info/RECORD,,