Fast-HInt-ppi 0.1.6__tar.gz → 0.1.7__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 (32) hide show
  1. {fast_hint_ppi-0.1.6 → fast_hint_ppi-0.1.7}/Fast_HInt/Scoring_HInt.py +11 -4
  2. {fast_hint_ppi-0.1.6 → fast_hint_ppi-0.1.7}/Fast_HInt_ppi.egg-info/PKG-INFO +1 -1
  3. {fast_hint_ppi-0.1.6 → fast_hint_ppi-0.1.7}/PKG-INFO +1 -1
  4. {fast_hint_ppi-0.1.6 → fast_hint_ppi-0.1.7}/setup.py +1 -1
  5. {fast_hint_ppi-0.1.6 → fast_hint_ppi-0.1.7}/Fast_HInt/Fast_HInt.py +0 -0
  6. {fast_hint_ppi-0.1.6 → fast_hint_ppi-0.1.7}/Fast_HInt/File_proteins.py +0 -0
  7. {fast_hint_ppi-0.1.6 → fast_hint_ppi-0.1.7}/Fast_HInt/Utils_HInt.py +0 -0
  8. {fast_hint_ppi-0.1.6 → fast_hint_ppi-0.1.7}/Fast_HInt/__init__.py +0 -0
  9. {fast_hint_ppi-0.1.6 → fast_hint_ppi-0.1.7}/Fast_HInt/get_good_inter_pae.py +0 -0
  10. {fast_hint_ppi-0.1.6 → fast_hint_ppi-0.1.7}/Fast_HInt/script_pi_score/__init__.py +0 -0
  11. {fast_hint_ppi-0.1.6 → fast_hint_ppi-0.1.7}/Fast_HInt/script_pi_score/calculate_mpdockq.py +0 -0
  12. {fast_hint_ppi-0.1.6 → fast_hint_ppi-0.1.7}/Fast_HInt/script_pi_score/clean_pdb.py +0 -0
  13. {fast_hint_ppi-0.1.6 → fast_hint_ppi-0.1.7}/Fast_HInt/script_pi_score/interface_assess.py +0 -0
  14. {fast_hint_ppi-0.1.6 → fast_hint_ppi-0.1.7}/Fast_HInt/script_pi_score/pi_score_utils.py +0 -0
  15. {fast_hint_ppi-0.1.6 → fast_hint_ppi-0.1.7}/Fast_HInt/script_pi_score/pisa_utils.py +0 -0
  16. {fast_hint_ppi-0.1.6 → fast_hint_ppi-0.1.7}/Fast_HInt/script_pi_score/run_piscore_wc.py +0 -0
  17. {fast_hint_ppi-0.1.6 → fast_hint_ppi-0.1.7}/Fast_HInt/script_pi_score/sc_utils.py +0 -0
  18. {fast_hint_ppi-0.1.6 → fast_hint_ppi-0.1.7}/Fast_HInt/script_pi_score/svm_model/__init__.py +0 -0
  19. {fast_hint_ppi-0.1.6 → fast_hint_ppi-0.1.7}/Fast_HInt/script_pi_score/svm_model/finalized_model_A.sav +0 -0
  20. {fast_hint_ppi-0.1.6 → fast_hint_ppi-0.1.7}/Fast_HInt/script_pi_score/svm_model/finalized_model_B.sav +0 -0
  21. {fast_hint_ppi-0.1.6 → fast_hint_ppi-0.1.7}/Fast_HInt/script_pi_score/svm_model/finalized_model_wc.sav +0 -0
  22. {fast_hint_ppi-0.1.6 → fast_hint_ppi-0.1.7}/Fast_HInt/script_pi_score/svm_model/scaler_model_A.sav +0 -0
  23. {fast_hint_ppi-0.1.6 → fast_hint_ppi-0.1.7}/Fast_HInt/script_pi_score/svm_model/scaler_model_B.sav +0 -0
  24. {fast_hint_ppi-0.1.6 → fast_hint_ppi-0.1.7}/Fast_HInt/script_pi_score/svm_model/scaler_model_wc.sav +0 -0
  25. {fast_hint_ppi-0.1.6 → fast_hint_ppi-0.1.7}/Fast_HInt_ppi.egg-info/SOURCES.txt +0 -0
  26. {fast_hint_ppi-0.1.6 → fast_hint_ppi-0.1.7}/Fast_HInt_ppi.egg-info/dependency_links.txt +0 -0
  27. {fast_hint_ppi-0.1.6 → fast_hint_ppi-0.1.7}/Fast_HInt_ppi.egg-info/entry_points.txt +0 -0
  28. {fast_hint_ppi-0.1.6 → fast_hint_ppi-0.1.7}/Fast_HInt_ppi.egg-info/requires.txt +0 -0
  29. {fast_hint_ppi-0.1.6 → fast_hint_ppi-0.1.7}/Fast_HInt_ppi.egg-info/top_level.txt +0 -0
  30. {fast_hint_ppi-0.1.6 → fast_hint_ppi-0.1.7}/MANIFEST.in +0 -0
  31. {fast_hint_ppi-0.1.6 → fast_hint_ppi-0.1.7}/README.md +0 -0
  32. {fast_hint_ppi-0.1.6 → fast_hint_ppi-0.1.7}/setup.cfg +0 -0
@@ -86,10 +86,7 @@ def Score_interaction (file, Informations_dict, CPU, Interaction, job="", multi_
86
86
  subprocess.run([tool, "create", "-y", "-n", "pi_score","python=2.7", "scikit-learn=0.20.4", "biopython", "biopandas"], check=True)
87
87
 
88
88
 
89
- if bait == "" and job != "" :
90
- bait = job.replace(job.split(";")[-1],"").strip(";")
91
- possible_prey = [job.split(";")[-1].strip("\n")]
92
- if bait != "" : #setup bait name
89
+ if bait != "" and job == "" : #setup bait name
93
90
  bait_name = bait.replace(";","_and_")
94
91
  for prot in bait.split(";") :
95
92
  if regions[prot] != "0-0" :
@@ -98,6 +95,16 @@ def Score_interaction (file, Informations_dict, CPU, Interaction, job="", multi_
98
95
  bait_name = bait_name.replace(prot,f"{prot}_{start}-{end}")
99
96
  possible_prey = file.get_possible_prey()
100
97
 
98
+ if job != "" :
99
+ bait = job.replace(job.split(";")[-1],"").strip(";")
100
+ bait_name = bait.replace(";","_and_")
101
+ possible_prey = [job.split(";")[-1].strip("\n")]
102
+ for prot in bait.split(";") :
103
+ if regions[prot] != "0-0" :
104
+ start = int(regions[prot].split("-")[0])
105
+ end = int(regions[prot].split("-")[1])
106
+ bait_name = bait_name.replace(prot,f"{prot}_{start}-{end}")
107
+
101
108
  #Multiprocessing to score all interactions
102
109
  if os.path.isdir(f"./result_{Interaction}") == True :
103
110
  if Interaction == "homo_int" : #for homo-oligomer
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: Fast_HInt-ppi
3
- Version: 0.1.6
3
+ Version: 0.1.7
4
4
  Summary: A tool to find homologous interactions and speed up AlphaFold-based structural modeling.
5
5
  Home-page: https://github.com/Qrouger/HInt
6
6
  Author: Quentin Rouger
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: Fast_HInt-ppi
3
- Version: 0.1.6
3
+ Version: 0.1.7
4
4
  Summary: A tool to find homologous interactions and speed up AlphaFold-based structural modeling.
5
5
  Home-page: https://github.com/Qrouger/HInt
6
6
  Author: Quentin Rouger
@@ -4,7 +4,7 @@ from setuptools import setup
4
4
 
5
5
  setup(
6
6
  name='Fast_HInt-ppi',
7
- version='0.1.6',
7
+ version='0.1.7',
8
8
  description=(
9
9
  'A tool to find homologous interactions and speed up AlphaFold-based structural modeling.'
10
10
  ),
File without changes
File without changes
File without changes