Skip to content

Commit 6d9ae6c

Browse files
vinzenzmayVinzenz May
andauthored
fix: HG30 sv calling feasible due to performance gains (#28)
Co-authored-by: Vinzenz May <may-vinzenz@t-online.de>
1 parent ee7f71b commit 6d9ae6c

27 files changed

Lines changed: 4413 additions & 3278 deletions

.github/workflows/main.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,7 @@ jobs:
6767
--reference examples/muc1/data/muc1.fa \
6868
--trf examples/muc1/data/muc1.trf.bed \
6969
--mononucleotides examples/muc1/data/muc1.mononucleotides.lt6.bed \
70-
--lamassemble-mat data/lamassemble-mats/promethion.mat \
71-
--unique-regions examples/muc1/data/muc1.unique.bed
72-
70+
--lamassemble-mat data/lamassemble-mats/promethion.mat
7371
pixi run \
7472
svirlpool sv-calling \
7573
--threads 1 \

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ pixi run \
5757
--threads 1 \
5858
--samplename muc1test \
5959
--workdir /tmp/workdir/result \
60+
--output /tmp/workdir/result/svirltile.db \
6061
--alignments examples/muc1/data/muc1.bam \
6162
--reference examples/muc1/data/muc1.fa \
6263
--trf examples/muc1/data/muc1.trf.bed \
6364
--mononucleotides examples/muc1/data/muc1.mononucleotides.lt6.bed \
64-
--lamassemble-mat data/lamassemble-mats/promethion.mat \
65-
--unique-regions examples/muc1/data/muc1.unique.bed
65+
--lamassemble-mat data/lamassemble-mats/promethion.mat
6666
```
6767

6868
The directory `/tmp/workdir/result` will contain a number of files. The most important one is the file `/tmp/svirltile.db` that is necessary for the subsequent (potentially joint) SV calling and creation of a VCF file.
@@ -145,7 +145,6 @@ THREADS=16
145145
TRF=$DATADIR/pbsv-annotations/human_hs37d5.trf.bed
146146
MAT=$SVIRLPOOLDIR/data/lamassemble-mats/promethion.mat
147147
MNNTS=$DATADIR/HG19/hs37d5.mononucleotides.lt6.bed.gz
148-
UNIQUER=$DATADIR/HG19/hs37d5.unique.bed.gz
149148
```
150149

151150
Now cd into a directory of your choice, where your data shall be processed, e.g.
@@ -166,7 +165,6 @@ svirlpool run \
166165
--trf $TRF \
167166
--lamassemble-mat $MAT \
168167
--mononucleotides $ MNNTS \
169-
--unique-regions UNIQUER \
170168
--threads $THREADS \
171169
--min-sv-size 30
172170
```
@@ -183,7 +181,6 @@ svirlpool run \
183181
--trf $TRF \
184182
--lamassemble-mat $MAT \
185183
--mononucleotides $ MNNTS \
186-
--unique-regions UNIQUER \
187184
--threads $THREADS \
188185
--min-sv-size 30
189186
```

pixi.lock

Lines changed: 49 additions & 41 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.13",
2323
"Programming Language :: Python :: 3.14",
2424
]
25-
dependencies = ["numpy>=2.3.4,<3", "pandas>=2.3.3,<3", "matplotlib>=3.10.7,<4", "scipy>=1.16.3,<2", "scikit-learn>=1.7.2,<2", "biopython>=1.86,<2", "plotly>=6.3.1,<7", "tqdm>=4.67.1,<5", "attrs>=25.4.0,<26", "cattrs>=25.3.0,<26", "intervaltree>=3.1.0,<4", "vcfpy>=0.14.2,<0.15", "pyyaml>=6.0.3,<7", "typer>=0.20.0,<0.21", "rich", "pydantic>=2.12.3,<3", "requests>=2.32.5,<3", "click", "setuptools~=70.0.0", "snakemake>=9.13.4,<10"]
25+
dependencies = ["numpy>=2.3.4,<3", "pandas>=2.3.3,<3", "matplotlib>=3.10.7,<4", "scipy>=1.16.3,<2", "scikit-learn>=1.7.2,<2", "biopython>=1.86,<2", "plotly>=6.3.1,<7", "tqdm>=4.67.1,<5", "attrs>=25.4.0,<26", "cattrs>=25.3.0,<26", "intervaltree>=3.1.0,<4", "vcfpy>=0.14.2,<0.15", "pyyaml>=6.0.3,<7", "typer>=0.20.0,<0.21", "rich", "pydantic>=2.12.3,<3", "requests>=2.32.5,<3", "click", "setuptools~=70.0.0", "snakemake>=9.13.4,<10", "xxhash>=0.8.3"]
2626

2727
[project.scripts]
2828
svirlpool = "svirlpool.__main__:main"
@@ -74,32 +74,13 @@ exclude = [
7474
"**/node_modules",
7575
"**/__pycache__",
7676
]
77+
typeCheckingMode = "basic"
7778
defineConstant = { DEBUG = true }
7879
stubPath = "stubs"
7980

8081
pythonVersion = "3.12"
8182
pythonPlatform = "Linux"
8283

83-
# Missing type annotation reports
84-
reportMissingParameterType = "error"
85-
reportUnknownParameterType = "error"
86-
reportUnknownVariableType = "error"
87-
reportUnknownMemberType = "error"
88-
reportUnknownArgumentType = "error"
89-
reportMissingTypeArgument = "error"
90-
91-
# Other useful reports for type safety
92-
reportGeneralTypeIssues = "error"
93-
reportOptionalMemberAccess = "error"
94-
reportOptionalSubscript = "error"
95-
reportPrivateImportUsage = "error"
96-
97-
# Stub files
98-
reportMissingTypeStubs = "error"
99-
reportImportCycles = "error"
100-
reportUnusedImport = "error"
101-
reportUnusedVariable = "error"
102-
10384
[tool.ruff]
10485
lint.ignore = [
10586
"E501", # line too long, handled by black

0 commit comments

Comments
 (0)