SigProfilerExtractor 1.2.3__tar.gz → 1.2.5__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 (39) hide show
  1. {sigprofilerextractor-1.2.3/SigProfilerExtractor.egg-info → sigprofilerextractor-1.2.5}/PKG-INFO +3 -2
  2. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/README.md +1 -0
  3. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/SigProfilerExtractor/controllers/cli_controller.py +7 -0
  4. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/SigProfilerExtractor/sigpro.py +4 -0
  5. sigprofilerextractor-1.2.5/SigProfilerExtractor/version.py +7 -0
  6. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5/SigProfilerExtractor.egg-info}/PKG-INFO +3 -2
  7. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/SigProfilerExtractor.egg-info/requires.txt +1 -1
  8. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/setup.py +3 -3
  9. sigprofilerextractor-1.2.3/SigProfilerExtractor/version.py +0 -7
  10. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/LICENSE.txt +0 -0
  11. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/MANIFEST.in +0 -0
  12. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/SigProfilerExtractor/__init__.py +0 -0
  13. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/SigProfilerExtractor/data/CNVInput/Battenberg_test.tsv +0 -0
  14. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/SigProfilerExtractor/data/CSVInput/csv_example.csv +0 -0
  15. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/SigProfilerExtractor/data/MatObjInput/21_breast_WGS_substitutions.mat +0 -0
  16. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/SigProfilerExtractor/data/ReferenceFiles/CNV_features.tsv +0 -0
  17. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/SigProfilerExtractor/data/ReferenceFiles/CN_classes_dictionary.txt +0 -0
  18. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/SigProfilerExtractor/data/TextInput/Samples_CNV.txt +0 -0
  19. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/SigProfilerExtractor/data/TextInput/Samples_DBS.txt +0 -0
  20. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/SigProfilerExtractor/data/TextInput/Samples_ID.txt +0 -0
  21. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/SigProfilerExtractor/data/TextInput/Samples_SBS.txt +0 -0
  22. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/SigProfilerExtractor/data/TextInput/Samples_SV.txt +0 -0
  23. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/SigProfilerExtractor/data/VCFInput/PD3851a.vcf +0 -0
  24. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/SigProfilerExtractor/data/VCFInput/PD3890a.vcf +0 -0
  25. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/SigProfilerExtractor/data/VCFInput/PD3904a.vcf +0 -0
  26. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/SigProfilerExtractor/data/VCFInput/PD3905a.vcf +0 -0
  27. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/SigProfilerExtractor/data/VCFInput/PD3945a.vcf +0 -0
  28. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/SigProfilerExtractor/estimate_best_solution.py +0 -0
  29. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/SigProfilerExtractor/nmf_cpu.py +0 -0
  30. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/SigProfilerExtractor/nmf_gpu.py +0 -0
  31. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/SigProfilerExtractor/sigprofilerextractor_cli.py +0 -0
  32. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/SigProfilerExtractor/subroutines.py +0 -0
  33. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/SigProfilerExtractor.egg-info/SOURCES.txt +0 -0
  34. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/SigProfilerExtractor.egg-info/dependency_links.txt +0 -0
  35. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/SigProfilerExtractor.egg-info/entry_points.txt +0 -0
  36. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/SigProfilerExtractor.egg-info/not-zip-safe +0 -0
  37. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/SigProfilerExtractor.egg-info/top_level.txt +0 -0
  38. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/pyproject.toml +0 -0
  39. {sigprofilerextractor-1.2.3 → sigprofilerextractor-1.2.5}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: SigProfilerExtractor
3
- Version: 1.2.3
3
+ Version: 1.2.5
4
4
  Summary: Extracts mutational signatures from mutational catalogues
5
5
  Home-page: https://github.com/AlexandrovLab/SigProfilerExtractor.git
6
6
  Author: S Mishu Ashiqul Islam
@@ -16,7 +16,7 @@ Requires-Dist: pandas>=2.0.0
16
16
  Requires-Dist: nimfa>=1.1.0
17
17
  Requires-Dist: sigProfilerPlotting>=1.4.1
18
18
  Requires-Dist: SigProfilerMatrixGenerator>=1.3.5
19
- Requires-Dist: SigProfilerAssignment>=0.2.4
19
+ Requires-Dist: SigProfilerAssignment>=1.0.1
20
20
  Requires-Dist: statsmodels>=0.9.0
21
21
  Requires-Dist: scikit-learn>=0.24.2
22
22
  Requires-Dist: psutil>=5.6.1
@@ -149,6 +149,7 @@ sigProfilerExtractor(input_type, out_put, input_data, reference_genome="GRCh37",
149
149
  | | **nmf_tolerance** | Float | Value defines the tolerance to achieve to converge (default: `1e-15`).|
150
150
  | **Execution** | | | |
151
151
  | | **cpu** | Integer | The number of processors to be used to extract the signatures (default: all processors). |
152
+ | | **assignment_cpu** | Integer | Number of processors to be used by SigProfilerAssignment for the final signature assignment step (default: all available). This is independent of the `cpu` parameter. |
152
153
  | | **gpu** | Boolean | Defines if the GPU resource will used if available (default: `False`). If `True`, the GPU resources will be used in the computation. *Note: All available CPU processors are used by default, which may cause a memory error. This error can be resolved by reducing the number of CPU processes through the `cpu` parameter.*|
153
154
  | | **batch_size** | Integer | Will be effective only if the GPU is used. Defines the number of NMF replicates to be performed by each CPU during the parallel processing (default: `1`). *Note: For `batch_size` values greater than 1, each NMF replicate will update until `max_nmf_iterations` is reached.*|
154
155
  | **Solution Estimation Thresholds** | | | |
@@ -116,6 +116,7 @@ sigProfilerExtractor(input_type, out_put, input_data, reference_genome="GRCh37",
116
116
  | | **nmf_tolerance** | Float | Value defines the tolerance to achieve to converge (default: `1e-15`).|
117
117
  | **Execution** | | | |
118
118
  | | **cpu** | Integer | The number of processors to be used to extract the signatures (default: all processors). |
119
+ | | **assignment_cpu** | Integer | Number of processors to be used by SigProfilerAssignment for the final signature assignment step (default: all available). This is independent of the `cpu` parameter. |
119
120
  | | **gpu** | Boolean | Defines if the GPU resource will used if available (default: `False`). If `True`, the GPU resources will be used in the computation. *Note: All available CPU processors are used by default, which may cause a memory error. This error can be resolved by reducing the number of CPU processes through the `cpu` parameter.*|
120
121
  | | **batch_size** | Integer | Will be effective only if the GPU is used. Defines the number of NMF replicates to be performed by each CPU during the parallel processing (default: `1`). *Note: For `batch_size` values greater than 1, each NMF replicate will update until `max_nmf_iterations` is reached.*|
121
122
  | **Solution Estimation Thresholds** | | | |
@@ -111,6 +111,12 @@ def parse_arguments_extractor(args: List[str], description: str) -> argparse.Nam
111
111
  default=-1,
112
112
  help="Number of processors to use (default: all available).",
113
113
  )
114
+ parser.add_argument(
115
+ "--assignment_cpu",
116
+ type=int,
117
+ default=-1,
118
+ help="Number of processors to be used by SigProfilerAssignment for the final signature assignment step (default: all available). This is independent of the 'cpu' parameter.",
119
+ )
114
120
  parser.add_argument(
115
121
  "--gpu",
116
122
  type=str2bool,
@@ -261,6 +267,7 @@ class CliController:
261
267
  seeds=parsed_args.seeds,
262
268
  batch_size=parsed_args.batch_size,
263
269
  cpu=parsed_args.cpu,
270
+ assignment_cpu=parsed_args.assignment_cpu,
264
271
  gpu=parsed_args.gpu,
265
272
  nmf_init=parsed_args.nmf_init,
266
273
  precision=parsed_args.precision,
@@ -187,6 +187,7 @@ def record_parameters(sysdata, execution_parameters, start_time):
187
187
  )
188
188
  )
189
189
 
190
+ sysdata.write("\tassignment_cpu: {}\n".format(execution_parameters["assignment_cpu"]))
190
191
  sysdata.write("\tgpu: {}\n".format(execution_parameters["gpu"]))
191
192
  sysdata.write("Solution Estimation\n")
192
193
  sysdata.write("\tstability: {}\n".format(execution_parameters["stability"]))
@@ -248,6 +249,7 @@ def sigProfilerExtractor(
248
249
  resample=True,
249
250
  batch_size=1,
250
251
  cpu=-1,
252
+ assignment_cpu=-1,
251
253
  gpu=False,
252
254
  nmf_init="random",
253
255
  precision="single",
@@ -485,6 +487,7 @@ def sigProfilerExtractor(
485
487
  "maximum_signatures": maximum_signatures,
486
488
  "NMF_replicates": nmf_replicates,
487
489
  "cpu": cpu,
490
+ "assignment_cpu": assignment_cpu,
488
491
  "gpu": gpu,
489
492
  "batch_size": batch_size,
490
493
  "NMF_init": nmf_init,
@@ -1126,6 +1129,7 @@ def sigProfilerExtractor(
1126
1129
  devopts=devopts,
1127
1130
  make_metadata=False,
1128
1131
  volume=volume,
1132
+ cpu=assignment_cpu,
1129
1133
  )
1130
1134
 
1131
1135
  sysdata = open(out_put + "/JOB_METADATA.txt", "a")
@@ -0,0 +1,7 @@
1
+
2
+ # THIS FILE IS GENERATED FROM SIGPROFILEREXTRACTOR SETUP.PY
3
+ short_version = '1.2.5'
4
+ version = '1.2.5'
5
+ Update = 'v1.2.5: Add automated Docker build and publish pipeline'
6
+
7
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: SigProfilerExtractor
3
- Version: 1.2.3
3
+ Version: 1.2.5
4
4
  Summary: Extracts mutational signatures from mutational catalogues
5
5
  Home-page: https://github.com/AlexandrovLab/SigProfilerExtractor.git
6
6
  Author: S Mishu Ashiqul Islam
@@ -16,7 +16,7 @@ Requires-Dist: pandas>=2.0.0
16
16
  Requires-Dist: nimfa>=1.1.0
17
17
  Requires-Dist: sigProfilerPlotting>=1.4.1
18
18
  Requires-Dist: SigProfilerMatrixGenerator>=1.3.5
19
- Requires-Dist: SigProfilerAssignment>=0.2.4
19
+ Requires-Dist: SigProfilerAssignment>=1.0.1
20
20
  Requires-Dist: statsmodels>=0.9.0
21
21
  Requires-Dist: scikit-learn>=0.24.2
22
22
  Requires-Dist: psutil>=5.6.1
@@ -149,6 +149,7 @@ sigProfilerExtractor(input_type, out_put, input_data, reference_genome="GRCh37",
149
149
  | | **nmf_tolerance** | Float | Value defines the tolerance to achieve to converge (default: `1e-15`).|
150
150
  | **Execution** | | | |
151
151
  | | **cpu** | Integer | The number of processors to be used to extract the signatures (default: all processors). |
152
+ | | **assignment_cpu** | Integer | Number of processors to be used by SigProfilerAssignment for the final signature assignment step (default: all available). This is independent of the `cpu` parameter. |
152
153
  | | **gpu** | Boolean | Defines if the GPU resource will used if available (default: `False`). If `True`, the GPU resources will be used in the computation. *Note: All available CPU processors are used by default, which may cause a memory error. This error can be resolved by reducing the number of CPU processes through the `cpu` parameter.*|
153
154
  | | **batch_size** | Integer | Will be effective only if the GPU is used. Defines the number of NMF replicates to be performed by each CPU during the parallel processing (default: `1`). *Note: For `batch_size` values greater than 1, each NMF replicate will update until `max_nmf_iterations` is reached.*|
154
155
  | **Solution Estimation Thresholds** | | | |
@@ -5,7 +5,7 @@ pandas>=2.0.0
5
5
  nimfa>=1.1.0
6
6
  sigProfilerPlotting>=1.4.1
7
7
  SigProfilerMatrixGenerator>=1.3.5
8
- SigProfilerAssignment>=0.2.4
8
+ SigProfilerAssignment>=1.0.1
9
9
  statsmodels>=0.9.0
10
10
  scikit-learn>=0.24.2
11
11
  psutil>=5.6.1
@@ -8,7 +8,7 @@ import subprocess
8
8
  if os.path.exists("dist"):
9
9
  shutil.rmtree("dist")
10
10
 
11
- VERSION = "1.2.3"
11
+ VERSION = "1.2.5"
12
12
 
13
13
 
14
14
  with open("README.md") as f:
@@ -21,7 +21,7 @@ def write_version_py(filename="SigProfilerExtractor/version.py"):
21
21
  # THIS FILE IS GENERATED FROM SIGPROFILEREXTRACTOR SETUP.PY
22
22
  short_version = '%(version)s'
23
23
  version = '%(version)s'
24
- Update = 'v1.2.3: Add support for rn7 and mm39 genomes'
24
+ Update = 'v1.2.5: Add automated Docker build and publish pipeline'
25
25
 
26
26
  """
27
27
  fh = open(filename, "w")
@@ -42,7 +42,7 @@ requirements = [
42
42
  "nimfa>=1.1.0",
43
43
  "sigProfilerPlotting>=1.4.1",
44
44
  "SigProfilerMatrixGenerator>=1.3.5",
45
- "SigProfilerAssignment>=0.2.4",
45
+ "SigProfilerAssignment>=1.0.1",
46
46
  "statsmodels>=0.9.0",
47
47
  "scikit-learn>=0.24.2",
48
48
  "psutil>=5.6.1",
@@ -1,7 +0,0 @@
1
-
2
- # THIS FILE IS GENERATED FROM SIGPROFILEREXTRACTOR SETUP.PY
3
- short_version = '1.2.3'
4
- version = '1.2.3'
5
- Update = 'v1.2.3: Add support for rn7 and mm39 genomes'
6
-
7
-