wwpdb.apps.seqmodule 0.28__tar.gz → 0.29.1__tar.gz

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.
Files changed (73) hide show
  1. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/PKG-INFO +1 -1
  2. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/__init__.py +1 -1
  3. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/util/SequenceLabel.py +13 -1
  4. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb.apps.seqmodule.egg-info/PKG-INFO +1 -1
  5. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/README.md +0 -0
  6. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/setup.cfg +0 -0
  7. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/setup.py +0 -0
  8. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/__init__.py +0 -0
  9. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/__init__.py +0 -0
  10. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/align/AlignmentBackEndEditingTools.py +0 -0
  11. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/align/AlignmentDepictionTools.py +0 -0
  12. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/align/AlignmentExport.py +0 -0
  13. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/align/AlignmentFrontEndUIEditor.py +0 -0
  14. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/align/AlignmentStatistics.py +0 -0
  15. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/align/AlignmentStatisticsTests.py +0 -0
  16. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/align/AlignmentToolUtils.py +0 -0
  17. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/align/AlignmentTools.py +0 -0
  18. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/align/__init__.py +0 -0
  19. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/control/DataImporter.py +0 -0
  20. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/control/SequenceDataAssembleExample.py +0 -0
  21. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/control/SequenceDataAssembleTests.py +0 -0
  22. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/control/SequenceDataAssemble_v2.py +0 -0
  23. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/control/SequenceDataPrepTests.py +0 -0
  24. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/control/SummaryViewDepiction.py +0 -0
  25. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/control/SummaryViewTests.py +0 -0
  26. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/control/SummaryView_v2.py +0 -0
  27. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/control/__init__.py +0 -0
  28. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/io/AlignmentDataStore.py +0 -0
  29. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/io/BlastPlusReader.py +0 -0
  30. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/io/FetchSeqInfoUtils.py +0 -0
  31. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/io/ModelSequenceUtils.py +0 -0
  32. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/io/ModelSequenceUtilsTests.py +0 -0
  33. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/io/PdbxIoUtils.py +0 -0
  34. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/io/SequenceDataExportTests.py +0 -0
  35. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/io/SequenceDataExport_v2.py +0 -0
  36. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/io/SequenceDataStore.py +0 -0
  37. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/io/SequenceDataStoreTests.py +0 -0
  38. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/io/SequenceEditStore.py +0 -0
  39. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/io/SequenceEditStoreTests.py +0 -0
  40. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/io/TaxonomyDbUtils.py +0 -0
  41. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/io/TaxonomyUtils.py +0 -0
  42. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/io/TaxonomyUtilsTests.py +0 -0
  43. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/io/__init__.py +0 -0
  44. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/io/testAuto.py +0 -0
  45. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/link/PolymerLinkageDepict.py +0 -0
  46. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/link/__init__.py +0 -0
  47. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/update/UpdatePolymerEntityPartitions.py +0 -0
  48. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/update/UpdatePolymerEntityReference_v2.py +0 -0
  49. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/update/UpdatePolymerEntitySourceDetails.py +0 -0
  50. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/update/__init__.py +0 -0
  51. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/util/Autodict.py +0 -0
  52. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/util/FetchReferenceSequenceUtils.py +0 -0
  53. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/util/GetSameSeqAnnotationWithTaxIdOnly.py +0 -0
  54. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/util/LocalBlastSearchUtils.py +0 -0
  55. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/util/MultiProcLimit.py +0 -0
  56. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/util/SearchEntityPolySeqs.py +0 -0
  57. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/util/SeqReferenceSearchUtils.py +0 -0
  58. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/util/SequenceAssign.py +0 -0
  59. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/util/SequenceExamples.py +0 -0
  60. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/util/SequenceFeatureDepict.py +0 -0
  61. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/util/SequenceReferenceData.py +0 -0
  62. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/util/UpdateSequenceDataStoreUtils.py +0 -0
  63. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/util/__init__.py +0 -0
  64. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/view3d/ModelViewer3D.py +0 -0
  65. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/view3d/__init__.py +0 -0
  66. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/webapp/SeqModWebApp_v2.py +0 -0
  67. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/webapp/SeqModWebRequest.py +0 -0
  68. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb/apps/seqmodule/webapp/__init__.py +0 -0
  69. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb.apps.seqmodule.egg-info/SOURCES.txt +0 -0
  70. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb.apps.seqmodule.egg-info/dependency_links.txt +0 -0
  71. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb.apps.seqmodule.egg-info/not-zip-safe +0 -0
  72. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb.apps.seqmodule.egg-info/requires.txt +0 -0
  73. {wwpdb_apps_seqmodule-0.28 → wwpdb_apps_seqmodule-0.29.1}/wwpdb.apps.seqmodule.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wwpdb.apps.seqmodule
3
- Version: 0.28
3
+ Version: 0.29.1
4
4
  Summary: wwPDB sequence module
5
5
  Home-page: https://github.com/wwPDB/py-wwpdb_apps_seqmodule
6
6
  Author: Ezra Peisach
@@ -2,4 +2,4 @@ __docformat__ = "restructuredtext en"
2
2
  __author__ = "Ezra Peisach"
3
3
  __email__ = "ezra.peisach@rcsb.org"
4
4
  __license__ = "Apache 2.0"
5
- __version__ = "0.28"
5
+ __version__ = "0.29.1"
@@ -40,6 +40,7 @@
40
40
  # 02-Sep-2020 zf Excluded 'Uncharacterized protein' molecule name from Uniprot
41
41
  # 03-Oct-2022 zf Excluded "SOURCE_STRAIN" from updateAuth() method.
42
42
  # add IS_AUTH_PROVIDED_ID
43
+ # 18-Aug-2024 zf Excluded "Uncharacterized conserved protein", "Protein of uncharacterized function", "Protein of uncharacterized function (DUF2001)"
43
44
  ##
44
45
  """
45
46
  Containers for sequence and residue labels/features used as identifiers and classifiers
@@ -89,6 +90,8 @@ class SequenceFeatureMap(object):
89
90
  authFD["SOURCE_COMMON_NAME"] = common_name
90
91
  #
91
92
  #
93
+ excludedList = ["PREDICTED PROTEIN", "PROTEIN OF UNCHARACTERIZED FUNCTION", "UNCHARACTERIZED CONSERVED PROTEIN", "UNCHARACTERIZED PROTEIN"]
94
+ #
92
95
  for mapTup in mapTupList:
93
96
  if mapTup[0] == "ENTITY_DESCRIPTION":
94
97
  updateFlag = False
@@ -99,7 +102,16 @@ class SequenceFeatureMap(object):
99
102
  updateFlag = True
100
103
  #
101
104
  elif refFD[mapTup[1]] is not None and len(refFD[mapTup[1]]) > 1:
102
- if (refFD[mapTup[1]].strip().upper() != "UNCHARACTERIZED PROTEIN") and (refFD[mapTup[1]].strip().upper() != "PREDICTED PROTEIN"):
105
+ uniProtName = refFD[mapTup[1]].strip().upper()
106
+ #
107
+ isExcludeName = False
108
+ for excludeName in excludedList:
109
+ if uniProtName.startswith(excludeName):
110
+ isExcludeName = True
111
+ break
112
+ #
113
+ #
114
+ if not isExcludeName:
103
115
  authFD[mapTup[0]] = refFD[mapTup[1]]
104
116
  updateFlag = True
105
117
  #
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wwpdb.apps.seqmodule
3
- Version: 0.28
3
+ Version: 0.29.1
4
4
  Summary: wwPDB sequence module
5
5
  Home-page: https://github.com/wwPDB/py-wwpdb_apps_seqmodule
6
6
  Author: Ezra Peisach