Skip to content

Commit f7c1f03

Browse files
committed
v1.1.3: Support VAF values from more variant callers and add CHANGELOG
1 parent 3ad7cd6 commit f7c1f03

File tree

3 files changed

+71
-43
lines changed

3 files changed

+71
-43
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6+
7+
## [Unreleased]
8+
9+
## [1.1.3] - 2024-10-31
10+
11+
### Added
12+
- Added support for Variant Allele Frequency (VAF) values from the following variant callers:
13+
- Sanger
14+
- TCGA
15+
- standardVC
16+
- Mutect2

SigProfilerClusters/version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
# THIS FILE IS GENERATED FROM SIGPROFILECLUSTERS SETUP.PY
3-
short_version = '1.1.2'
4-
version = '1.1.2'
3+
short_version = '1.1.3'
4+
version = '1.1.3'
55

66

setup.py

Lines changed: 53 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -3,55 +3,67 @@
33
import shutil
44

55

6-
#remove the dist folder first if exists
6+
# remove the dist folder first if exists
77
if os.path.exists("dist"):
8-
shutil.rmtree("dist")
8+
shutil.rmtree("dist")
9+
910

1011
def readme():
11-
this_directory = os.path.abspath(os.path.dirname(__file__))
12-
with open(os.path.join(this_directory, 'README.md'), encoding='latin-1') as f:
13-
long_description = f.read()
14-
return(long_description)
15-
# with open('README.rst') as f:
16-
# return(f.read())
17-
18-
VERSION = '1.1.2'
19-
20-
def write_version_py(filename='SigProfilerClusters/version.py'):
21-
# Copied from numpy setup.py
22-
cnt = """
12+
this_directory = os.path.abspath(os.path.dirname(__file__))
13+
with open(os.path.join(this_directory, "README.md"), encoding="latin-1") as f:
14+
long_description = f.read()
15+
return long_description
16+
# with open('README.rst') as f:
17+
# return(f.read())
18+
19+
20+
VERSION = "1.1.3"
21+
22+
23+
def write_version_py(filename="SigProfilerClusters/version.py"):
24+
# Copied from numpy setup.py
25+
cnt = """
2326
# THIS FILE IS GENERATED FROM SIGPROFILECLUSTERS SETUP.PY
2427
short_version = '%(version)s'
2528
version = '%(version)s'
2629
2730
"""
28-
fh = open(filename, 'w')
29-
fh.write(cnt % {'version': VERSION,})
30-
fh.close()
31+
fh = open(filename, "w")
32+
fh.write(
33+
cnt
34+
% {
35+
"version": VERSION,
36+
}
37+
)
38+
fh.close()
39+
3140

3241
write_version_py()
3342

34-
setup(name='SigProfilerClusters',
35-
version=VERSION,
36-
description='SigProfilerClusters tool',
37-
long_description= readme(),
38-
long_description_content_type='text/markdown',
39-
url='',
40-
author='Erik Bergstrom',
41-
author_email='[email protected]',
42-
license='UCSD',
43-
packages=find_packages(),#['SigProfilerMatrixGenerator'],
44-
python_requires=">=3.8",
45-
install_requires =[
46-
"matplotlib>=3.5",
47-
"sigProfilerPlotting>=1.3.18",
48-
"SigProfilerMatrixGenerator>=1.2.19",
49-
"SigProfilerSimulator>=1.1.5",
50-
"statsmodels>=0.9.0",
51-
"scipy>=1.1.0",
52-
"pandas>=0.23.4",
53-
"numpy>= 1.17.3",
54-
"SigProfilerExtractor>=1.0.17",
55-
"seaborn>=0.13.0"],
56-
include_package_data=True,
57-
zip_safe=False)
43+
setup(
44+
name="SigProfilerClusters",
45+
version=VERSION,
46+
description="SigProfilerClusters tool",
47+
long_description=readme(),
48+
long_description_content_type="text/markdown",
49+
url="",
50+
author="Erik Bergstrom",
51+
author_email="[email protected]",
52+
license="UCSD",
53+
packages=find_packages(), # ['SigProfilerMatrixGenerator'],
54+
python_requires=">=3.8",
55+
install_requires=[
56+
"matplotlib>=3.5",
57+
"sigProfilerPlotting>=1.3.18",
58+
"SigProfilerMatrixGenerator>=1.2.19",
59+
"SigProfilerSimulator>=1.1.5",
60+
"statsmodels>=0.9.0",
61+
"scipy>=1.1.0",
62+
"pandas>=0.23.4",
63+
"numpy>= 1.17.3",
64+
"SigProfilerExtractor>=1.0.17",
65+
"seaborn>=0.13.0",
66+
],
67+
include_package_data=True,
68+
zip_safe=False,
69+
)

0 commit comments

Comments
 (0)