SigProfilerExtractor 1.2.2__tar.gz → 1.2.3__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.2/SigProfilerExtractor.egg-info → sigprofilerextractor-1.2.3}/PKG-INFO +2 -2
  2. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/README.md +1 -1
  3. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/SigProfilerExtractor/sigpro.py +3 -9
  4. sigprofilerextractor-1.2.3/SigProfilerExtractor/version.py +7 -0
  5. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3/SigProfilerExtractor.egg-info}/PKG-INFO +2 -2
  6. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/setup.py +2 -2
  7. sigprofilerextractor-1.2.2/SigProfilerExtractor/version.py +0 -7
  8. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/LICENSE.txt +0 -0
  9. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/MANIFEST.in +0 -0
  10. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/SigProfilerExtractor/__init__.py +0 -0
  11. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/SigProfilerExtractor/controllers/cli_controller.py +0 -0
  12. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/SigProfilerExtractor/data/CNVInput/Battenberg_test.tsv +0 -0
  13. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/SigProfilerExtractor/data/CSVInput/csv_example.csv +0 -0
  14. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/SigProfilerExtractor/data/MatObjInput/21_breast_WGS_substitutions.mat +0 -0
  15. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/SigProfilerExtractor/data/ReferenceFiles/CNV_features.tsv +0 -0
  16. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/SigProfilerExtractor/data/ReferenceFiles/CN_classes_dictionary.txt +0 -0
  17. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/SigProfilerExtractor/data/TextInput/Samples_CNV.txt +0 -0
  18. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/SigProfilerExtractor/data/TextInput/Samples_DBS.txt +0 -0
  19. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/SigProfilerExtractor/data/TextInput/Samples_ID.txt +0 -0
  20. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/SigProfilerExtractor/data/TextInput/Samples_SBS.txt +0 -0
  21. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/SigProfilerExtractor/data/TextInput/Samples_SV.txt +0 -0
  22. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/SigProfilerExtractor/data/VCFInput/PD3851a.vcf +0 -0
  23. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/SigProfilerExtractor/data/VCFInput/PD3890a.vcf +0 -0
  24. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/SigProfilerExtractor/data/VCFInput/PD3904a.vcf +0 -0
  25. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/SigProfilerExtractor/data/VCFInput/PD3905a.vcf +0 -0
  26. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/SigProfilerExtractor/data/VCFInput/PD3945a.vcf +0 -0
  27. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/SigProfilerExtractor/estimate_best_solution.py +0 -0
  28. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/SigProfilerExtractor/nmf_cpu.py +0 -0
  29. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/SigProfilerExtractor/nmf_gpu.py +0 -0
  30. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/SigProfilerExtractor/sigprofilerextractor_cli.py +0 -0
  31. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/SigProfilerExtractor/subroutines.py +0 -0
  32. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/SigProfilerExtractor.egg-info/SOURCES.txt +0 -0
  33. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/SigProfilerExtractor.egg-info/dependency_links.txt +0 -0
  34. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/SigProfilerExtractor.egg-info/entry_points.txt +0 -0
  35. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/SigProfilerExtractor.egg-info/not-zip-safe +0 -0
  36. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/SigProfilerExtractor.egg-info/requires.txt +0 -0
  37. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/SigProfilerExtractor.egg-info/top_level.txt +0 -0
  38. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/pyproject.toml +0 -0
  39. {sigprofilerextractor-1.2.2 → sigprofilerextractor-1.2.3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: SigProfilerExtractor
3
- Version: 1.2.2
3
+ Version: 1.2.3
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
@@ -130,7 +130,7 @@ sigProfilerExtractor(input_type, out_put, input_data, reference_genome="GRCh37",
130
130
  | | **output** | String | The name of the output folder. The output folder will be generated in the current working directory. |
131
131
  | | **input_data** | String | <br>Path to input folder for input_type:<ul><li>`vcf`</li><li>`bedpe`</li></ul>Path to file for input_type:<ul><li>`matrix`</li><li>`seg:TYPE`</li></ul> |
132
132
  | | **reference_genome** | String | The name of the reference genome (default: `"GRCh37"`). This parameter is applicable only if the `input_type` is `"vcf"`. |
133
- | | **opportunity_genome** | String | The build or version of the reference genome for the reference signatures (default: `"GRCh37"`). When the input_type is `"vcf"`, the opportunity_genome automatically matches the input reference genome value. Only the genomes available in COSMIC are supported (`GRCh37`, `GRCh38`, `mm9`, `mm10`, and `rn6`). If a different opportunity genome is selected, the default genome `GRCh37` will be used. |
133
+ | | **opportunity_genome** | String | The build or version of the reference genome for the reference signatures (default: `"GRCh37"`). When the input_type is `"vcf"`, the opportunity_genome automatically matches the input reference genome value. Only the genomes available in COSMIC are supported (`GRCh37`, `GRCh38`, `mm9`, `mm10`, `mm39`, `rn6`, and `rn7`). If a different opportunity genome is selected, the default genome `GRCh37` will be used. |
134
134
  | | **context_type** | String | Mutation context name(s), separated by commas (`,`), that define the mutational contexts for signature extraction (default: `"96,DINUC,ID"`). In the default value, `96` represents the SBS96 context, `DINUC` represents the dinucleotide context, and `ID` represents the indel context. |
135
135
  | | **exome** | Boolean | Defines if the exomes will be extracted (default: `False`). |
136
136
  | **NMF Replicates** | | | |
@@ -97,7 +97,7 @@ sigProfilerExtractor(input_type, out_put, input_data, reference_genome="GRCh37",
97
97
  | | **output** | String | The name of the output folder. The output folder will be generated in the current working directory. |
98
98
  | | **input_data** | String | <br>Path to input folder for input_type:<ul><li>`vcf`</li><li>`bedpe`</li></ul>Path to file for input_type:<ul><li>`matrix`</li><li>`seg:TYPE`</li></ul> |
99
99
  | | **reference_genome** | String | The name of the reference genome (default: `"GRCh37"`). This parameter is applicable only if the `input_type` is `"vcf"`. |
100
- | | **opportunity_genome** | String | The build or version of the reference genome for the reference signatures (default: `"GRCh37"`). When the input_type is `"vcf"`, the opportunity_genome automatically matches the input reference genome value. Only the genomes available in COSMIC are supported (`GRCh37`, `GRCh38`, `mm9`, `mm10`, and `rn6`). If a different opportunity genome is selected, the default genome `GRCh37` will be used. |
100
+ | | **opportunity_genome** | String | The build or version of the reference genome for the reference signatures (default: `"GRCh37"`). When the input_type is `"vcf"`, the opportunity_genome automatically matches the input reference genome value. Only the genomes available in COSMIC are supported (`GRCh37`, `GRCh38`, `mm9`, `mm10`, `mm39`, `rn6`, and `rn7`). If a different opportunity genome is selected, the default genome `GRCh37` will be used. |
101
101
  | | **context_type** | String | Mutation context name(s), separated by commas (`,`), that define the mutational contexts for signature extraction (default: `"96,DINUC,ID"`). In the default value, `96` represents the SBS96 context, `DINUC` represents the dinucleotide context, and `ID` represents the indel context. |
102
102
  | | **exome** | Boolean | Defines if the exomes will be extracted (default: `False`). |
103
103
  | **NMF Replicates** | | | |
@@ -1094,25 +1094,19 @@ def sigProfilerExtractor(
1094
1094
  devopts["make_decomposition_plots"] = make_decomposition_plots
1095
1095
 
1096
1096
  # Check if genome_build is available in COSMIC, if not reset to GRCh37
1097
- if (
1098
- genome_build == "GRCh37"
1099
- or genome_build == "GRCh38"
1100
- or genome_build == "mm9"
1101
- or genome_build == "mm10"
1102
- or genome_build == "rn6"
1103
- ):
1097
+ if genome_build in ["GRCh37", "GRCh38", "mm9", "mm10", "mm39", "rn6", "rn7"]:
1104
1098
  genome_build = genome_build
1105
1099
  else:
1106
1100
  sysdata = open(out_put + "/JOB_METADATA.txt", "a")
1107
1101
  sysdata.write(
1108
- "\n[{}] The selected opportunity genome is {}. COSMIC signatures are available only for GRCh37/38, mm9/10 and rn6 genomes. So, the opportunity genome is reset to GRCh37.\n".format(
1102
+ "\n[{}] The selected opportunity genome is {}. COSMIC signatures are available only for GRCh37/38, mm9/10/39 and rn6/7 genomes. So, the opportunity genome is reset to GRCh37.\n".format(
1109
1103
  str(datetime.datetime.now()).split(".")[0], str(genome_build)
1110
1104
  )
1111
1105
  )
1112
1106
  print(
1113
1107
  "The selected opportunity genome is "
1114
1108
  + str(genome_build)
1115
- + ". COSMIC signatures are available only for GRCh37/38, mm9/10 and rn6 genomes. So, the opportunity genome is reset to GRCh37."
1109
+ + ". COSMIC signatures are available only for GRCh37/38, mm9/10/39 and rn6/7 genomes. So, the opportunity genome is reset to GRCh37."
1116
1110
  )
1117
1111
  sysdata.close()
1118
1112
  genome_build = "GRCh37"
@@ -0,0 +1,7 @@
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
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: SigProfilerExtractor
3
- Version: 1.2.2
3
+ Version: 1.2.3
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
@@ -130,7 +130,7 @@ sigProfilerExtractor(input_type, out_put, input_data, reference_genome="GRCh37",
130
130
  | | **output** | String | The name of the output folder. The output folder will be generated in the current working directory. |
131
131
  | | **input_data** | String | <br>Path to input folder for input_type:<ul><li>`vcf`</li><li>`bedpe`</li></ul>Path to file for input_type:<ul><li>`matrix`</li><li>`seg:TYPE`</li></ul> |
132
132
  | | **reference_genome** | String | The name of the reference genome (default: `"GRCh37"`). This parameter is applicable only if the `input_type` is `"vcf"`. |
133
- | | **opportunity_genome** | String | The build or version of the reference genome for the reference signatures (default: `"GRCh37"`). When the input_type is `"vcf"`, the opportunity_genome automatically matches the input reference genome value. Only the genomes available in COSMIC are supported (`GRCh37`, `GRCh38`, `mm9`, `mm10`, and `rn6`). If a different opportunity genome is selected, the default genome `GRCh37` will be used. |
133
+ | | **opportunity_genome** | String | The build or version of the reference genome for the reference signatures (default: `"GRCh37"`). When the input_type is `"vcf"`, the opportunity_genome automatically matches the input reference genome value. Only the genomes available in COSMIC are supported (`GRCh37`, `GRCh38`, `mm9`, `mm10`, `mm39`, `rn6`, and `rn7`). If a different opportunity genome is selected, the default genome `GRCh37` will be used. |
134
134
  | | **context_type** | String | Mutation context name(s), separated by commas (`,`), that define the mutational contexts for signature extraction (default: `"96,DINUC,ID"`). In the default value, `96` represents the SBS96 context, `DINUC` represents the dinucleotide context, and `ID` represents the indel context. |
135
135
  | | **exome** | Boolean | Defines if the exomes will be extracted (default: `False`). |
136
136
  | **NMF Replicates** | | | |
@@ -8,7 +8,7 @@ import subprocess
8
8
  if os.path.exists("dist"):
9
9
  shutil.rmtree("dist")
10
10
 
11
- VERSION = "1.2.2"
11
+ VERSION = "1.2.3"
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.2: Add mutation count and stability to 4608 plots in All_Solutions and a stop parameter'
24
+ Update = 'v1.2.3: Add support for rn7 and mm39 genomes'
25
25
 
26
26
  """
27
27
  fh = open(filename, "w")
@@ -1,7 +0,0 @@
1
-
2
- # THIS FILE IS GENERATED FROM SIGPROFILEREXTRACTOR SETUP.PY
3
- short_version = '1.2.2'
4
- version = '1.2.2'
5
- Update = 'v1.2.2: Add mutation count and stability to 4608 plots in All_Solutions and a stop parameter'
6
-
7
-