Skip to content

Commit b80dfa5

Browse files
committed
Update README
1 parent 776c133 commit b80dfa5

File tree

7 files changed

+120
-38
lines changed

7 files changed

+120
-38
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Synopsis
22

3-
This repository contains the source code and input data used for the data analysis and modeling for Deterioration of multi-level 3D genome organization during breast cancer progression (preprint available soon).
3+
This repository contains the source code and input data used for the data analysis and modeling for: Deterioration of multi-level 3D genome organization during breast cancer progression (preprint available soon).
44

55
Input data download and subsequent analyses are automated using Nextflow and Singularity/Apptainer.
66

bin/plotting/plot_tads_higlass.ipynb

+97-14
Large diffs are not rendered by default.

configs/base_hovig.config

-1
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,3 @@ singularity {
3838
autoMounts = true
3939
runOptions = "-B $TMPDIR:/tmp --env TMPDIR=/tmp --cleanenv"
4040
}
41-

configs/base_linux.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
process {
66
cpus = 1
7-
cache = 'deep'
7+
// cache = 'deep'
88

99
// Process-specific resource requirements
1010
withLabel:process_low {

containers/macs2__v2.2.9.1.Dockerfile

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ ARG MAMBA_DOCKERFILE_ACTIVATE=1
99

1010
RUN if [ -z "$CONTAINER_VERSION" ]; then echo "Missing CONTAINER_VERSION --build-arg" && exit 1; fi
1111

12-
RUN micromamba install -y \
13-
-c conda-forge \
14-
-c bioconda \
15-
procps-ng \
16-
ucsc-bedgraphtobigwig \
12+
RUN micromamba install -y \
13+
-c conda-forge \
14+
-c bioconda \
15+
procps-ng \
16+
ucsc-bedgraphtobigwig \
1717
"macs2=${CONTAINER_VERSION}" \
1818
&& micromamba clean --all -y
1919

containers/patches/chrom3d.patch

+8-8
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,12 @@ index deb6a5c..32315f7 100644
139139
#include <limits>
140140
#include <stdexcept>
141141
+#include <string>
142-
142+
143143
#include <sstream>
144-
144+
145145
@@ -191,11 +192,11 @@ int main(int argc, char** argv) {
146146
//model.buildHashMap();
147-
147+
148148
MCMC mcmc(model);
149149
- bool success;
150150
- uint Niter=args.nIter;
@@ -153,9 +153,9 @@ index deb6a5c..32315f7 100644
153153
double temp=maxTemp;
154154
+ bool success;
155155
+ (void)success; // [[maybe_unused]]
156-
156+
157157
uint verbosity = (args.verbose == 0) ? args.nIter+1 : args.verbose;
158-
158+
159159
@@ -212,7 +213,7 @@ cerr << "0 " << model.getLossScore() << endl;
160160
assert(success);
161161
if (i % verbosity == 0) {
@@ -199,8 +199,8 @@ index 4e738b5..358a089 100644
199199
virtual Move randomize(Chromosome&, ENG&) = 0;
200200
+ virtual ~Randomizer() noexcept = default;
201201
};
202-
203-
202+
203+
204204
diff --git a/src/Util.h b/src/Util.h
205205
index 0116f65..5875dd9 100644
206206
--- a/src/Util.h
@@ -212,5 +212,5 @@ index 0116f65..5875dd9 100644
212212
- const char* what(){return "Unacceptable move!";}
213213
+ virtual const char* what() const noexcept {return "Unacceptable move!";}
214214
};
215-
215+
216216
}

containers/patches/cooler.patch

+8-8
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ index defd88d..0f6d223 100644
88
scales = np.ones(len(chrom_ids))
99
+ variances = np.full_like(scales, np.nan)
1010
n_bins = len(bias)
11-
11+
1212
for cid, lo, hi in zip(chrom_ids, chrom_offsets[:-1], chrom_offsets[1:]):
1313
@@ -142,6 +143,7 @@ def _balance_cisonly(
1414
plo, phi = bin1_offsets[lo], bin1_offsets[hi]
@@ -25,14 +25,14 @@ index defd88d..0f6d223 100644
2525
+ variances[cid] = var
2626
if rescale_marginals:
2727
bias[lo:hi] /= np.sqrt(scale)
28-
28+
2929
- return bias, scales, var
3030
+ return bias, scales, variances
31-
32-
31+
32+
3333
def _balance_transonly(
3434
@@ -337,7 +340,7 @@ def balance_cooler(
35-
35+
3636
"""
3737
# Divide the number of elements into non-overlapping chunks
3838
- nnz = clr.info["nnz"]
@@ -42,7 +42,7 @@ index defd88d..0f6d223 100644
4242
spans = [(0, nnz)]
4343
@@ -353,7 +356,7 @@ def balance_cooler(
4444
base_filters.append(partial(_zero_diags, ignore_diags))
45-
45+
4646
# Initialize the bias weights
4747
- n_bins = clr.info["nbins"]
4848
+ n_bins = int(clr.info["nbins"])
@@ -69,7 +69,7 @@ index ca3627d..68a0242 100644
6969
@@ -100,7 +100,7 @@ def interactive(ax, c, row_chrom, col_chrom, field, balanced, scale): # pragma:
7070
im.set_extent(extent)
7171
ax.figure.canvas.draw_idle()
72-
72+
7373
- binsize = c.info["bin-size"]
7474
+ binsize = int(c.info["bin-size"])
7575
row_chrom_len = c.chromsizes[row_chrom]
@@ -80,7 +80,7 @@ index daa4f61..de9ef6e 100644
8080
--- cooler/parallel.py
8181
+++ cooler/parallel.py
8282
@@ -268,5 +268,5 @@ class chunkgetter:
83-
83+
8484
def split(clr, map=map, chunksize=10_000_000, spans=None, **kwargs):
8585
if spans is None:
8686
- spans = partition(0, clr.info["nnz"], chunksize)

0 commit comments

Comments
 (0)