MASSA-Algorithm 0.9.5__py3-none-any.whl → 0.9.6__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.
@@ -20,7 +20,7 @@ def initial_print():
20
20
  ██░░░▓▓▓▓░░░░░░░▓▓▓▓░░░░░░░▓▓▓▓░░░░█
21
21
  ██░░░░▓▓▓▓▓▓░░░░░▓▓▓▓▓▓░░░░░▓▓▓▓▓▓░░░░█ MASSA Algorithm:
22
22
  ████░░░░░▓▓▓▓░░░░░░░▓▓▓▓░░░░░░░▓▓▓▓░░░░░█████ Molecular data set sampling — Training-Test Separation
23
- █▓▓▓███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░███▓▓▓█ Version: v. 0.9.5
23
+ █▓▓▓███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░███▓▓▓█ Version: v. 0.9.6
24
24
  █▒▓▓▒▒▒████░░░░░░░░░░░░░░░░░░░░░░░░░░░░████▒▒▓▓▒█
25
25
  ██▓▒▒▒▓▓▓▓██████████████████████████████▓▓▓▒▒▒▒▓█ Developed by: Gabriel Corrêa Veríssimo
26
26
  ██▒▒▒▓▓▒▒▒▒▓▓▒▒▒▒▓▓▒▒▒▒▒▒▒▒▒▒▒▒▓▓▒▒▒▒▓▓▒▒▒▓▓▒▒██ LICENSE: AGPL-3.0
@@ -135,7 +135,7 @@ def read_EXCEL_smiles(file, WriteLog):
135
135
 
136
136
  def read_CSV_smiles(file, WriteLog):
137
137
  df_supplier = pd.read_csv(file, sep=",")
138
- mols_sanitized = read_df_smiles(df_supplier)
138
+ mols_sanitized = read_df_smiles(df_supplier, WriteLog)
139
139
  return mols_sanitized
140
140
 
141
141
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: MASSA-Algorithm
3
- Version: 0.9.5
3
+ Version: 0.9.6
4
4
  Summary: MASSA Algorithm is a Python package to separate data sets of molecules into training and test sets, considering the diversity of structural, physicochemical and biological characteristics of these molecules.
5
5
  Home-page: https://github.com/gcverissimo/MASSA_Algorithm
6
6
  Author: Gabriel Corrêa Veríssimo
@@ -60,7 +60,18 @@ Once installed, the program can be run directly from the command line:
60
60
  MASSA_Algorithm -i <input_file>.sdf -o <output_file>.sdf
61
61
  ```
62
62
 
63
- A list of optional arguments include:
63
+ Required arguments:
64
+ * **Input file**: ```-i``` or ```--input```.
65
+ * MASSA Algorithm accepts input files in the formats: .sdf, .mol, .mol2, .xlsx, .xls, and .csv. However, the .sdf format is preferred. Notes:
66
+ * .mol2 files have limitations in storing molecular properties and follow different saving patterns. Due to this, we only support .mol2 files that are generated by Discovery Studio Visualizer.
67
+ * For .xlsx, .xls, and .csv:
68
+ * MASSA will look for a column with smiles in the name and use it as the source of input molecules.
69
+ * MASSA will look for a column with one of the following names in the priority order: Molecule name, Name, Molecule ChEMBL ID, or ID. If none of these columns are found, it will use the molecule index.
70
+ * **Output file**: ```-o``` or ```--output```.
71
+ * Enter the output file name or file path. Image files will be saved to a folder within the same directory as the output file.
72
+ * It is highly recommended to use an .sdf file to avoid errors.
73
+
74
+ Optional arguments include:
64
75
  * **Percentage of molecules in training set**: ```-p``` or ```--percentage_of_training```.
65
76
  * Percentage of molecules in training set. Must be a number from 0 to 1.
66
77
  * Default = 0.8.
@@ -68,11 +79,11 @@ A list of optional arguments include:
68
79
  * Number of biological activities that will be used to separate the set into training and test.
69
80
  * Default = 1.
70
81
  * **Name of biological activities for separation**: ```-s``` or ```--the_biological_activities```.
71
- * Enter a list with the names of biological activities separated by commas and no spaces.
82
+ * The biological activity(ies) or other y-property(ies) used for QSAR or machine learning modeling. The algorithm can handle one or more properties. Enter a list with the names of biological activities separated by commas and no spaces. These properties must be represented as either integers or floating-point numbers. If your dataset is represented in classes (e.g., active or inactive; soluble, partially soluble, or insoluble), you should represent them as integers (e.g., 0 or 1; 1, 2, or 3).
72
83
  * Example: ```MASSA_Algorithm -i <input_file>.sdf -o <output_file>.sdf -s pIC50,pMIC```.
73
84
  * Default = If not entered directly on the command line, it will be requested during algorithm execution.
74
85
  * **Number of principal components in PCA**: ```-n``` or ```--number_of_PCs```.
75
- * Defines the number of principal components to reduce the dimensionality of variables related to biological, physicochemical and structural domains. If the value is a decimal between 0 and 1, the number of principal components is what justifies for (```<input number>```* 100)% of the variance. If the value is greater than 1, the number of PCs will be exactly the input integer, but PAY ATTENTION:
86
+ * Defines the number of principal components to reduce the dimensionality of variables related to biological, physicochemical and structural domains. If the value is a decimal between 0 and 1, the number of principal components is what explains for (```<input number>```* 100)% of the variance. If the value is greater than 1, the number of PCs will be exactly the input integer, but PAY ATTENTION:
76
87
 
77
88
  1) If the number of PCs is an integer and equal to or greater than the number of physicochemical properties (7), the PCA step will be bypassed for this domain.
78
89
  2) The same for the biological domain.
@@ -3,16 +3,16 @@ MASSA_Algorithm/MASSAargs.py,sha256=MCOBlRm6sx6TUQHLwJrW-ktdSNiQltyFjyfJbS-1dVc,
3
3
  MASSA_Algorithm/MASSAcluster.py,sha256=orRK3rqEpH4j-C4LiS2rp3z4f1gM_rvsjgqiljvtlUI,11293
4
4
  MASSA_Algorithm/MASSAdescriptors.py,sha256=3wd4MXfqTJU6w-sUolEhsCKIOCS2ye1tSkXvOXwFn2c,2716
5
5
  MASSA_Algorithm/MASSAextraction.py,sha256=bADEWtpEE5P0hg9O-8piD659GrPfHUeqyyaAYCWlsAs,4976
6
- MASSA_Algorithm/MASSAlogos.py,sha256=CiSOgHodwBe8rNI2HbCWKkuQEr5MiwVc4tYIi-WuHO8,3528
6
+ MASSA_Algorithm/MASSAlogos.py,sha256=xl1EI77Y4eU-QUWjAgZlRaFTHY-ufAUSaIc9oXaYyXM,3528
7
7
  MASSA_Algorithm/MASSAmoloutput.py,sha256=LsyeCvIc9SPiFjVXTOQ3GVXDzhB9sc-MYWGGvIbOcwQ,2512
8
8
  MASSA_Algorithm/MASSAod.py,sha256=y0tizbYYtw34iJEf8c_5XPfQHHxF9RSRGjbmSZ0qRWk,487
9
- MASSA_Algorithm/MASSAopen_files.py,sha256=wQWBYB7zfKei7XOceS9kqZMj8xGA8AbfIDlBptyBOjE,9918
9
+ MASSA_Algorithm/MASSAopen_files.py,sha256=U6koZg-IBVRUasl1Htl6S3CjZcOmJ-lKx-Ud-LXz4ws,9928
10
10
  MASSA_Algorithm/MASSApreparation.py,sha256=I4JpddMfBX1btYomNI5vflN1gyllJKodbQgtYf9imWY,3208
11
11
  MASSA_Algorithm/MASSAsplit.py,sha256=qsZgvXAat4UleaF0Qaa4Y-CtsMQU_NaIJvK-ypOzkbw,5330
12
12
  MASSA_Algorithm/__init__.py,sha256=yY3Tbs-t4HSl4I0Ev0RcHMnHU7SwljlWRveiRJkeCB8,10
13
- MASSA_Algorithm-0.9.5.dist-info/LICENSE,sha256=bx5iLIKjgAdYQ7sISn7DsfHRKkoCUm1154sJJKhgqnU,35184
14
- MASSA_Algorithm-0.9.5.dist-info/METADATA,sha256=pSx2OtrWq7RG_jLiXhFaBKoSDLuVenQtjVsLTfZUTnc,6537
15
- MASSA_Algorithm-0.9.5.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
16
- MASSA_Algorithm-0.9.5.dist-info/entry_points.txt,sha256=oMtqswy07Di-w2uIYAEvenBKl0ovsr9AYm_yxn6LGtU,63
17
- MASSA_Algorithm-0.9.5.dist-info/top_level.txt,sha256=IZyttJ20RSD8w9nAcaTHWAvkvxHV5FGaVGB7mDrw9Cc,16
18
- MASSA_Algorithm-0.9.5.dist-info/RECORD,,
13
+ MASSA_Algorithm-0.9.6.dist-info/LICENSE,sha256=bx5iLIKjgAdYQ7sISn7DsfHRKkoCUm1154sJJKhgqnU,35184
14
+ MASSA_Algorithm-0.9.6.dist-info/METADATA,sha256=pGGMRnNlvEcZg3JzCoz027iZ7PBOwqEQsKAymKsErho,7967
15
+ MASSA_Algorithm-0.9.6.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
16
+ MASSA_Algorithm-0.9.6.dist-info/entry_points.txt,sha256=oMtqswy07Di-w2uIYAEvenBKl0ovsr9AYm_yxn6LGtU,63
17
+ MASSA_Algorithm-0.9.6.dist-info/top_level.txt,sha256=IZyttJ20RSD8w9nAcaTHWAvkvxHV5FGaVGB7mDrw9Cc,16
18
+ MASSA_Algorithm-0.9.6.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.3.0)
2
+ Generator: setuptools (75.6.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5