Reconstructing the three-dimensional architecture of extrachromosomal DNA with ec3D

preprint OA: closed
📄 Open PDF Full text JSON View at publisher
Full text 113,400 characters · extracted from preprint-html · click to expand
Reconstructing the three-dimensional architecture of extrachromosomal DNA with ec3D | bioRxiv /* */ /* */ <!-- <!-- /*! * yepnope1.5.4 * (c) WTFPL, GPLv2 */ (function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-M677548'); Skip to main content Home About Submit ALERTS / RSS Search for this keyword Advanced Search New Results Reconstructing the three-dimensional architecture of extrachromosomal DNA with ec3D Biswanath Chowdhury , View ORCID Profile Kaiyuan Zhu , View ORCID Profile Chaohui Li , View ORCID Profile Jens Luebeck , View ORCID Profile Owen S. Chapman , View ORCID Profile Katerina Kraft , View ORCID Profile Shu Zhang , View ORCID Profile Lukas Chavez , View ORCID Profile Anton G. Henssen , View ORCID Profile Paul S. Mischel , Howard Y. Chang , View ORCID Profile Vineet Bafna doi: https://doi.org/10.1101/2025.02.01.636064 Biswanath Chowdhury 1 Department of Computer Science and Engineering, University of California San Diego , San Diego, CA, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site Kaiyuan Zhu 1 Department of Computer Science and Engineering, University of California San Diego , San Diego, CA, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Kaiyuan Zhu Chaohui Li 1 Department of Computer Science and Engineering, University of California San Diego , San Diego, CA, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Chaohui Li Jens Luebeck 1 Department of Computer Science and Engineering, University of California San Diego , San Diego, CA, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Jens Luebeck Owen S. Chapman 2 Department of Medicine, University of California San Diego , San Diego, CA, USA 3 Sanford Burnham Prebys Medical Discovery Institute , San Diego, CA, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Owen S. Chapman Katerina Kraft 4 Center for Personal Dynamic Regulomes, Stanford University , Stanford, CA, USA 5 Howard Hughes Medical Institute, Stanford University , Stanford, CA, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Katerina Kraft Shu Zhang 4 Center for Personal Dynamic Regulomes, Stanford University , Stanford, CA, USA 6 Department of Dermatology, Stanford University School of Medicine , Stanford, CA, USA 7 Department of Pathology, Stanford University School of Medicine , Stanford, CA, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Shu Zhang Lukas Chavez 2 Department of Medicine, University of California San Diego , San Diego, CA, USA 3 Sanford Burnham Prebys Medical Discovery Institute , San Diego, CA, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Lukas Chavez Anton G. Henssen 8 Department of Pediatric Hematology and Oncology, Charité-Universitätsmedizin Berlin , Berlin, Germany 9 Berlin Institute of Health , Berlin, Germany 10 Experimental and Clinical Research Center, Max Delbrück Center for Molecular Medicine and Charité-Universitätsmedizin Berlin , Berlin, Germany Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Anton G. Henssen Paul S. Mischel 7 Department of Pathology, Stanford University School of Medicine , Stanford, CA, USA 11 Sarafan Chemistry, Engineering, and Medicine for Human Health (Sarafan ChEM-H), Stanford University , Stanford, CA, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Paul S. Mischel Howard Y. Chang 4 Center for Personal Dynamic Regulomes, Stanford University , Stanford, CA, USA 5 Howard Hughes Medical Institute, Stanford University , Stanford, CA, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site Vineet Bafna 1 Department of Computer Science and Engineering, University of California San Diego , San Diego, CA, USA 12 Halıcıoglu Data Science Institute, University of California San Diego , San Diego, CA, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Vineet Bafna For correspondence: vbafna{at}ucsd.edu Abstract Full Text Info/History Metrics Preview PDF Abstract Extrachromosomal DNAs (ecDNAs) are large, acentric, circular DNA molecules that occur pervasively across many human cancers. EcDNA can drive tumor formation and evolution, contribute to drug resistance, and associate with poor patient survival outcomes. Beyond mediating high copy numbers, the circular topology and dynamic conformational changes of ecDNA disrupt topological domains and rewire regulatory networks, thereby conferring an important role in the transcriptional regulation of oncogenes. Here, we develop ec3D, a computational method for reconstructing the three-dimensional structures of ecDNA and analyzing significant interactions from high-throughput chromatin capture (Hi-C) data. Given a candidate ecDNA sequence and the corresponding whole-genome Hi-C as input, ec3D reconstructs the spatial structure of ecDNA by maximizing the Poisson likelihood of observed interactions. Ec3D’s performance was validated using both simulated ecDNA structures with varying conformations and Hi-C data from previously-characterized cancer cell lines. Our reconstructions reveal that ecDNAs occupy spherical configurations and mediate unique long-range interactions involved in gene regulation. Through algorithmic innovations, ec3D can resolve complex ecDNA structures with duplicated genomic segments, identify multi-way interactions, and distinguish between interactions arising from direct spatial proximity and secondary interactions resulting from alternative folding patterns or intermolecular (trans) contacts of ecDNA molecules. Our findings provide insights into how the spatial organization of ecDNA may influence gene regulation and contribute to increased oncogene expression. Code availability https://github.com/AmpliconSuite/ec3D Introduction Somatic copy number amplification of oncogenes is a major driver of cancer pathogenicity 1 – 3 . Recent studies 4 – 6 have revealed that oncogenes are often amplified by extrachromosomal DNA (ecDNA). EcDNAs are highly prevalent, occurring in approximately 15% of early stage and 30% of late-stage cancers 7 , but are rarely seen in normal cells 6 . The presence of ecDNA in tumors is associated with increased pathogenicity and poor outcomes for patients 6 . While this can partially be attributed to increased oncogene expression associated with copy number amplification on ecDNA, recent results point to other contributing factors. EcDNAs have highly accessible chromatin, and their constituent genes are highly expressed, even after accounting for higher copy numbers 5 , 6 . In normal chromosomes, distinct compartments, known as Topologically Associating Domains (TADs), often bounded by CTCF binding sites, demarcate the regulatory elements that are accessible to a gene 8 , 9 . In many cancers, the integrity of TADs can be altered 10 . EcDNA formation, which often involves the joining of distal genomic segments, changes chromatin conformation, and disrupts existing topological domains, allowing for enhancer hijacking and rewiring of regulatory circuitry 11 – 13 . EcDNAs often cluster into hubs promoting trans regulatory interactions between different ecDNA molecules 14 . EcDNAs with no protein-coding genes have been identified, suggesting an exclusively regulatory role in promoting oncogenesis 15 . Finally, ecDNAs are also suggested to act as roving enhancers for chromosomal genes 16 . Despite the large (10 5 -10 8 bp 6 , 17 ) size of ecDNA, their genomic compositions, including genes and regulatory elements, can be reliably identified using short and long read whole genome sequencing 18 – 21 . However, a deeper understanding of the regulatory machinery depends not only on the genomic architecture but also on the 3-dimensional conformation of the circular structure. The spatial organization and the three-dimensional structure of ecDNA have, to our knowledge, not been investigated previously. High-throughput chromosome conformation capture technique (Hi-C) is a dominant technology for characterizing the 3D genome organization 22 – 24 , identifying TADs, and understanding long-range chromatin interactions 8 . The technique quantifies the interaction frequency between each pair of genomic loci, presented in the form of a 2-dimensional matrix. High frequency correlates with spatial proximity, which can be attributed to (a) genomic proximity, (b) structural variation that brings distal loci together, and (c) topological constrictions in DNA structure. Computational methods have been developed to identify significant pairwise interactions suggesting spatial proximity of pairs that are distant in the reference chromosomes 25 – 27 . While they provide important structural and topological information, Hi-C is a 2-dimensional projection of the 3-dimensional structure, and some important structural features are not immediately discernible. Therefore, these methods do not typically identify multi-way interactions or interactions induced by structural variation, with few exceptions (such as NeoLoopFinder 28 ). Smaller changes in 3-dimensional configuration are not immediately apparent in the Hi-C projection. Finally, none of the existing methods account for the circular topology of ecDNA. Many recent methods have been developed to infer the 3-dimensional structure directly from Hi-C data with increasing resolution, and they have been applied to large genomic segments including human chromosomes 29 – 36 . However, cancer genomes, and ecDNAs in particular, present unique challenges for these methods. Most ecDNAs involve complex structural variations, joining together genomic segments from different chromosomes. They may also contain multiple copies of large genomic segments, showing aggregated signals of interactions in the Hi-C matrix, which must be implicitly or explicitly de-duplicated. In this work, we present ec3D, which reconstructs the three-dimensional structure of ecDNA genome using deep Hi-C data and identifies topological constrictions and clusters of statistically significant chromatin interactions, including multi-way and crossing (non-planar) interactions. We used ec3D to reconstruct the 3-dimensional structures of ecDNAs in multiple cancer cell lines and used the structures to better characterize the unique regulatory biology of ecDNA. Results Overview of ec3D Ec3D uses two types of data: (i) a local assembly of ecDNA sequence and (ii) a whole-genome Hi-C contact matrix, both aligned to the same reference genome (see Methods for how these data can be obtained). The input ecDNA sequence is represented by ordered and oriented genomic segments in an extended bed format, possibly with segments occurring multiple times. The Hi-C matrix describes the interaction frequencies for pairs of bins, each representing a genomic region of pre-specified resolution (default 5 Kbp), in either hic or cool format. With these inputs, ec3D first extracts Hi-C submatrices corresponding to segment pairs, where both segments are chosen from the ecDNA sequence. Ec3D reassembles these submatrices into a single matrix C of dimension N c × N c bin pairs, representing chromatin interactions within ecDNA intervals ( Fig. 1 ). Next, ec3D reconstructs the 3D structure of the input ecDNA by maximizing the joint Poisson likelihood 30 , 32 , which models interaction frequencies C ij as independent Poisson random variables with mean , a decreasing function of the Euclidean distance d ij between bin i and bin j , with a scaling parameter β > 0 and a power law decay parameter α < 0. (See Methods for details.) Download figure Open in new tab Fig. 1. Overview of the ec3D workflow. Ec3D takes the amplicon sequence coordinates and chromatin capture (Hi-C) data as input, and outputs the 3-dimensional coordinates of each fixed-resolution bin. It also resolves the structure of duplicated regions within ecDNA. Finally, it computes and reports significant interactions between pairs of bins. A critical challenge that ec3D resolves involves ecDNA structures containing duplicated segments. Therefore, some bins in the Hi-C matrix have interaction data from multiple bins (duplicated intervals) in the reconstruction. Ec3D automatically reconstructs a structure with N e 3-dimensional coordinates, one for each fixed-resolution bin, where N e may exceed the dimension N c of the input Hi-C matrix. If duplicated bins exist, the observed interaction frequencies are modeled as the sum of Poisson random variables from all copies, enabling duplicated segments positioned in 3D space; otherwise N e = N c and the Poisson model directly applies. After determining the 3D structure of ecDNA, ec3D constructs an expanded Hi-C matrix E of dimensions N e × N e by redistributing the interactions to individual copies of bin pairs, proportional to their spatial distance in the reconstructed structure (see Methods ). Next, Ec3D identifies significant interactions within this expanded matrix ( Fig. 1 ). These significant interactions are subsequently clustered using the Louvain method 37 . Ec3D outputs the expanded Hi-C matrix corresponding to the ecDNA sequence, the reconstructed 3D structure coordinates as a text file ( Fig. 1 ), and an interactive structure visualization showing associated genes and clusters of significant interactions. Ec3D reconstructs structures accurately on simulated data Given a ground truth structure and the corresponding expanded or collapsed Hi-C matrix, ec3D can reconstruct a 3D structure with the Hi-C matrix, and its performance can be measured by comparing the ground truth and reconstructed structures. We developed an extensive suite of simulated ecDNA structures and Hi-C matrices to benchmark ec3D’s performance. Very briefly, we simulated base structures with k ( k ∈ {1, 2, 3}) topological constrictions (TCs) . (See Methods and Supplementary Methods for details.) Each TC corresponds to a pair of genomic regions that are genomically distant but spatially close. We also added multiple random local folds to the base structures ( Supplementary Fig. 1 ). Structures, which share the same topological constrictions but differ in local folds, are referred to as having the same base structure. Each simulated structure is described as a N e × 3 matrix ( Fig. 2a ), corresponding to the 3D coordinates of N e bins. We simulated 30 random structures for each value of k (the number of TCs), resulting in a total of 90 simulated 3D structures. Download figure Open in new tab Fig. 2. Performance of ec3D on simulated data. a , A simulated 3D circular structure (ground truth) with 250 bins. b , A simulated Hi-C matrix generated from the structure in ( a ). c , The reconstructed structure computed by running ec3D on the Hi-C data in ( b ). d , RMSD-metric simulation test results in 4 different groups: No duplication - ground-truth versus reconstructed structures without duplication; Duplication - ground-truth versus reconstructed structures with duplication; Same base - random pairs of structures with the same base structure; Different base - random pairs of structures with different base structures. Each group has 450 samples. P-values were calculated using the Wilcoxon rank-sum test for two samples. e , PCC values of ground truth versus reconstructed structures (PCC-reconstructed) compared to PCC values of ground truth versus random structures (PCC-random). A data point at the bottom right of the dashed line indicates that the reconstructed structure is more similar to the ground truth than a random structure. f , Distribution of RMSD values (ground truth versus reconstructed structures) over α values. g , RMSD-metric comparisons with other methods that reconstruct DNA structure from Hi-C. P-values were calculated using the Wilcoxon rank-sum test for two samples. h, i , Running time of ec3D for reconstructing structures without duplication ( h ) and with duplication ( i ). The y-axis represents the proportion of simulated samples (each category has 150) whose reconstruction was completed by a specific time point. For each simulated structure, we generated 10 simulated Hi-C samples by sampling interaction frequencies from the Poisson distribution described above, with random combinations of α ∈ [− 3, − 0. 75] and β ∈ [1, 10], which cover a typical range we observed in real data. This gives 900 simulated Hi-C in total. The first 450 N e × N e matrices E are expanded matrices without duplicated bins ( Fig. 2b ). The other 450 N c × N c matrices C are collapsed matrices with duplication. To simulate Hi-C with duplicated bins, we randomly selected two regions, each with l bins, as duplicated regions. We then generated the collapsed Hi-C matrix C by summing the interactions for the duplicated regions from the original expanded matrix E . Thus, if the original sample with N e bins had l bins duplicated, the dimensionality of the collapsed matrix C became N c × N c , where N c = ( N e – l ). Note that the 3D structures were not changed when collapsed matrices were generated from expanded matrices. In a simulated 3D structure, topological constrictions and local folds contribute to global and proximal interactions in E , which mimic the Hi-C matrix of a real ecDNA sample. To evaluate performance, we measured the root mean square deviation (RMSD) and Pearson correlation coefficient (PCC) between the ground truth and the structures reconstructed from the Hi-C matrix ( Fig. 2a-c ). The RMSD compares coordinates of two structures and requires a rotation and translation step for optimal alignment, whereas PCC is measured directly on pairwise distances between pairs of bins (see Methods ). The median RMSD values of the 450 reconstructions without duplication was 0.058, with an interquartile range IQR=[0.032, 0.106], which was significantly lower than RMSD values computed both by comparing two randomly selected structures with the same base structure (median RMSD 0.338, IQR=[0.268, 0.429], Wilcoxon rank-sum test, p-value ≤ 3.7525e-122), and by comparing two random structures with different base structures (median RMSD 0.573, IQR=[0.525,0.638], Wilcoxon rank-sum test, p-value ≤ 1.2276e-147) ( Fig. 2d ; Supplementary Tables 1, 2 ). This result suggested that ec3D can reconstruct 3D structures with high accuracy and even reconstruct smaller local folds accurately. Similar results were seen with the PCC metric - the PCC values for the reconstruction were significantly higher than those computed by comparing random structures ( Supplementary Fig. 2a , Tables 1, 2 ). Notably, samples with k = 2 and 3 topological constrictions had lower median RMSD values and higher median PCC, compared to samples with k = 1 ( Supplementary Fig. 3 ). This improved performance was likely due to stronger global interactions in samples with a higher number of constrictions, resulting in more constraints on possible structures. We next evaluated the ability of ec3D to reconstruct structures with duplicated bins. We ran ec3D on the 450 collapsed matrices and obtained median RMSD 0.122 (IQR =[0.076,0.222]), which, again was significantly better than two random structures with the same base structure (Wilcoxon rank-sum test, p-value ≤ 8.0688e-103) and with different base structures (Wilcoxon rank-sum test, p-value ≤ 5.3505e-148) ( Fig. 2d ; Supplementary Tables 1, 2 ). Comparisons using the PCC metric were highly correlated with RMSD ( Supplementary Fig. 2a ). Note that it is not known in advance if the duplicated regions fold into a similar local substructure. Therefore, in our simulations, we selected half of the samples to have the same local substructure in the duplicated regions, while the other half had different local substructures. The RMSD and PCC values in the two cases were very similar ( Supplementary Fig. 4 ), indicating that ec3D has consistent performance regardless of the similarity of local substructures in the duplicated regions. Because the raw RMSD and PCC values are data dependent and difficult to interpret directly, we compared the PCC (respectively, RMSD) value of ground truth versus a reconstructed structure against the PCC (RMSD) values of the ground truth versus a random structure. The vast majority (97.83%) of reconstructed structures had higher PCC than random structures ( Fig. 2e ). Similarly, 95.67% of reconstructed structures had lower RMSD than random structures ( Supplementary Fig. 5 ). Next, we tested the accuracy of ec3D estimates of the power law decay parameter α by measuring the correlation between the true and estimated values of α in the 900 reconstructions. The ground truth and estimated values were highly correlated ( Supplementary Fig. 6 ). Defining the error as , where α is the ground-truth, and the estimated value for sample i , the mean error values in estimating α, for samples without and with duplication, were 2.32% and 3.68%, respectively. The results indicated that α could be estimated accurately in most samples, regardless of duplication. The estimation accuracy was higher when the true α values were large (≃-1). To investigate this further, we reanalyzed the RMSD values of all 900 simulated samples across the different ranges of α values. We found that structure reconstruction accuracy was also better on samples with larger α values ( Fig. 2f ). Notably, α values of real data obtained from human samples tend to be close to -1 ( Supplementary Table 3 ), further raising confidence in the accuracy of our reconstructions on real data. Expectedly, the objective value (negative log-likelihood) decreased smoothly with iterative optimization until convergence. Broadly, the RMSD (respectively, PCC) metric also decreased (respectively, increased), but the transition was much sharper so that a relatively modest improvement in the beginning was followed by a more dramatic shift later ( Supplementary Fig. 7 ). Intriguingly, the initial and final RMSD and PCC values of all runs (900 samples × 5 repeats) were positively correlated, with correlation scores 0.7037 and 0.5712, respectively ( Supplementary Fig. 8 ), highlighting the importance of the initialization step in reaching optimal final structures. Ec3D versus other reconstruction methods We compared ec3D against three existing 3D genome reconstruction methods, MiniMDS 35 , ShRec3D 31 , and PASTIS 32 , with the caveat that the other methods were not specifically developed for ecDNA and can not handle structural variations and duplications. MiniMDS and ShRec3D utilize multidimensional scaling with fixed parameters, while PASTIS models a joint Poisson likelihood to simultaneously infer structure and parameters and can be considered as the starting point of our work. Using both metrics, ec3D significantly outperforms the other methods, and the performance gap is wider in samples with duplicated bins ( Fig. 2g , Supplementary Fig. 2b ) . Ec3D compute time All samples were run on a supercomputing node equipped with two 64-core AMD EPYC 7742 processors and 256 GB of DDR4 memory, with at most 16 threads and 2 GB of memory allocated for each sample. Because ec3D follows a stochastic optimization function, its running time varies from sample to sample. Running time increased with the number of bins ( Fig. 2h ; Supplementary Fig. 9 ). Duplications took a longer time to resolve ( Fig. 2i ). Most (≥ 90%) samples without duplication could be resolved within 12,000 seconds, and most samples with duplication could be resolved within 35,000 seconds. Ec3D reveals circular structure of ecDNA linking distant segments We applied ec3D to high coverage Hi-C data acquired from 7 cancer-derived cell lines ( Supplementary Table 3 ). 5 of the 7 cell lines carry ecDNA, while the remaining two, GBM39HSR and IMR-5/75, contained intrachromosomal focal amplifications that displayed as Homogeneously Staining Regions (HSRs). All ecDNA positive cell lines carry only one dominating ecDNA species, except RCMB56, which may carry a second ecDNA species amplifying telomeric region from chr7 and cause incomplete genome reconstruction 17 . We therefore skipped the reconstruction of this ecDNA. We used previously published reconstructions of the ecDNA and HSR sequences to obtain the genomic regions of the amplicons ( Methods, Supplementary Table 4 ). Scatter plots comparing Hi-C contact frequency and 3D distance showed a clear inverse relationship on a log-log scale, confirming the expected negative power law decay relationship between frequency and distance in 3D space suggested by the Poisson model ( Fig. 3a , Supplementary Fig. 10 ). The correlation was very strong, with PCC ranging from -0.96 to -0.76. Notably, the correlation magnitude increased with increasing Hi-C contact ( Supplementary Fig. 10 ). The results indicate a more consistent and precise prediction of spatial distances as contact frequencies increase. The observed horizontal scatter of bins for low distances was due to the regularizer term, which forced adjacent bins to have similar Euclidean distances even if their contact frequencies varied. Download figure Open in new tab Fig. 3. Structural properties of ecDNA. a , Correlation between Hi-C interaction frequencies and spatial (Euclidean) distances from GBM39. The Spearman and Pearson correlation coefficients suggested a negative power law decay of interaction frequencies on spatial distances. Color gradient representing the genomic distance was overlaid on each scatter plot point, with warmer colors indicating shorter genomic distances and cooler colors indicating longer distances. b , 3D structure of GBM39 ecDNA with oncogenes amplified on the ecDNA. Genes are highlighted, and red crosses represent structural variations leading to ecDNA formation. c , 3D structure of the same chromosomal segment (chr7:54.7-56.1Mbp) on a control cell line, GM12878, reconstructed by ec3D. d , Size of the minimum volume bounding box enclosing GBM39 ecDNA, suggesting an oblate spheroidal structure. e , Optimal values of ec3D’s objective function (y-axis) after fixing the scaling parameter β and limiting the maximum range of the first axis to force a flatter structure (x-axis). A box plot describing the 5 final objective values with random initialized X was made for each length limit ranging from 0.03125 - 2. f , 3D structure of GBM39HSR reconstructed by ec3D. g , 3D structure of H2170 ecDNA. The duplicated segment chr8:128.4-128.9Mbp showed significant similarity (RMSD = 0.2759, permutation test p-value = 0.01). h , a segment from chromosome 2:15.58M-15.98M amplified on two different cyclic (ecDNA/HSR) structures with significant similarity (RMSD = 0.2369, permutation test p-value = 0.007). Previous estimates 22 , 32 of α range from α ≃ -3 to α ≃ -1.5. The optimal values of α on ecDNA structures were somewhat larger, estimated as -1.13±0.22 ( Supplementary Table 3 ). The significantly smaller decay of interaction strength with increasing Euclidean distance suggests that ecDNAs maintain their structures despite their large size and volume. All 5 reconstructions naturally converged to circular 3-dimensional structures in contrast with the structure of identical regions in control cell lines. For example, for the GBM39 ecDNA, a relatively simple structure was formed by a single front-to-back joining of a chr7 segment that encompasses the oncogene EGFR ( Fig. 3b ). High spatial proximity between the first and last bin was automatically discovered by ec3D. For comparison, we reconstructed the structure of the identical genomic region in GM12878, a cell line where EGFR is located on the chromosome ( Fig. 3c ). The reconstruction on GM12878 showed similarity in the smaller topological domains, but importantly, no interactions between the first and last bins. EcDNA structures are oblate spheroidal and occupy all three dimensions Scanning electron microscopy data on cultured cells in metaphase 5 do not reliably explain if ecDNAs occupy a sphere-like or a disk-like volume. To address this question, we first computed a minimum volume bounding cuboid that captured the overall shape of the reconstructed 3D structure ( Fig. 3d ). Had the 3D structure of ecDNA been disk-like, we would expect the smallest dimension of the cuboid to be much smaller than the largest dimension. However, the ratios between the minimum and maximum edge lengths of the bounding box of the 5 ecDNA structures were generally high, ranging from 0.476 (GBM39) to 0.895 (H2170) ( Supplementary Table 3 ). This suggested that ecDNA structures were oblate spheroidal with a large third dimension. We next tested if the ecDNA could be embedded in a “flatter” bounding box (i.e., with smaller edge length ratios) and still generate the observed Hi-C interactions. Specifically, we reconstructed 3D structures of the GBM39 ecDNA (amplifying EGFR ) and RCMB56 ecDNA (amplifying DNTTIP2 ) by fixing the parameter β with optimal estimated values (β=4 for RCMB56 and β=16 for GBM39) and repeatedly halving the maximum range in the first axis without modifying the range [-1, 1] of the other two axes. By fixing the scaling factor β, we ensured that the structure was not shrinking proportionally in all axes in reconstruction. We hypothesized that for disk-like structures, decreasing the range of one axis would not impact the Poisson likelihood, as bins could still be placed on a plane orthogonal to that axis, preserving the pairwise spatial distances; however, for spherical structures, the Poisson likelihood would become worse, due to additional constraints in the 3D space disrupting expected spatial distances suggested by Hi-C interactions. For GBM39, the likelihood indeed became worse as the smallest dimension decreased from 0.25 to 0.125 ( Fig. 3e , Wilcoxon rank-sum test, p-value ≤ 0. 0045). Similarly for RCMB56, the likelihood reduced significantly as the smallest dimension decreased from 1 to 0.5 ( Supplementary Fig. 11 , p-value ≤ 0. 0045), strongly suggesting a spheroidal conformation. Our results are consistent with ecDNA requiring all 3 dimensions for optimal folding, providing additional freedom for complex topological constrictions. Ec3D reveals high structural similarities between HSR and ecDNA in isogenic lines The cell line GBM39HSR is isogenic to GBM39EC but with an intra-chromosomal or HSR amplification of EGFR. Remarkably, the Hi-C pairwise interactions of the amplified region were highly similar (Correlation = 0.9859, Supplementary Fig. 12a-c ). Previous findings have suggested that HSRs can be formed via reintegration of tandemly duplicated copies of ecDNA into a chromosomal locus 38 , and this is supported by the similarity of the breakpoints in the isogenic cell lines. To rebuild the structure of GBM39HSR, we duplicated the first 3 bins ( Methods ) during preparation of the collapsed matrix and ran ec3D using this genome with duplications. The 3D reconstructions of GBM39EC and GBM39HSR were also remarkably similar ( Fig. 3b, f , Supplementary Fig. 12d ), with RMSD 0.3456 (PCC = 0.9369). By comparison, the RMSD between identical regions in GM12878 and GBM39EC was higher at 0.3940 (PCC = 0.8504). The similarity between GBM39EC and GBM39HSR structures matched that of random structures with the same base structures (median RMSD=0.3380; Fig. 2d ) suggesting that the major topological constrictions were identical, but ec3D captured fine structural differences between the ecDNA and HSR structures in a way that the Hi-C image could not ( Supplementary Fig. 12d-f ). For example, the spatial distance between chr7:54.865-54.87Mbp and chr7:55.08-55.1Mbp nearly doubled from 0.16 in GBM39EC to 0.3 in GBM39HSR. Despite these advances, the current Hi-C data do not provide enough resolution to distinguish between different possible HSR sub-structures. Distinct structures, such as the ‘spring’ and the ‘petal’ shapes ( Supplementary Fig. 13 ), are possible in the tandem duplication model, and resolving the fine HSR structure will likely require new technologies. A tandem duplication model for HSR had previously been suggested for the MYCN amplification in the human neuroblastoma cell line IMR-5/75 12 . In the proposed architecture of this amplicon, a neo-TAD joined two genomically remote segments connecting the ANTXR1 locus (chr2:68.9-69.2Mbp) and LRATD1 (chr2:14.5-15.1Mbp) locus, consistent with a tandem joining of the “last” and “first” segments. Notably, the structure revealed by Helmsauer et al 12 to have two TADs was based on a collapsed matrix containing duplicated copies of chr2:14.63-15.1Mbp ( Supplementary Fig. 14a ). Ec3d automatically generated an expanded matrix resolving the duplicated region. It found that the two TADs were maintained, and that the duplicated copies of chr2:14.63-15.1Mbp were part of a single TAD, with smaller substructures ( Supplementary Fig. 14b ). We next asked if these duplicated regions folded into similar substructures. Duplicated regions on ecDNA can have similar structures One key feature of ec3D is the reconstruction of ecDNA structures with duplicated segments. Two ecDNA-positive cell lines, D458 and H2170, and one HSR line, IMR-5/75, contained duplicated segments with sizes ranging from 4 bins (20 Kbp) to 163 bins (815 Kbp) ( Supplementary Table 5 ). Each segment was duplicated at most two times on the two ecDNAs, including two inverted duplications in D458. We compared the significance of similarity of the local 3-dimensional structure of the duplicated regions using a permutation test ( Methods ). Of the 8 pairs of duplicated regions (6 of size at least 50 Kbp), 2 pairs in D458 and 1 pair in H2170 had significantly similar structures ( Supplementary Table 5 ), including for example, duplicated bins [18, 96] and [364, 442] on H2170 ( Fig. 3g , permutation test p-value ≤ 0.016). The other 4 duplicate pairs did not have significantly similar structures, including the duplicated pair on the IMR-5/75 HSR. We next compared identical genomic regions chr2:15.585-15.985Mbp amplified in two different cell lines. The region is amplified on ecDNA in the cell line CHP-212, and on an HSR in IMR-5/75 ( Fig. 3h ). The RMSD value of 0.2369 was highly significant (permutation test p-value ≤ 0.0072), confirming that identical genomic sequences folded into very similar local structures despite the very different context. Together, the results suggest that the underlying DNA sequence only provides partial information for reconstructing the structure. Interactions with other factors and nuclear bodies play a role in determining structure. Ec3D clarifies the neo-TAD structures and oncogene dysregulation in ecDNA Recent results on Neuroblastoma cell lines revealed a class of MYCN amplicons that lacked key local enhancers of MYCN , but hijacked distal fragments containing previously discovered super-enhancers known to mediate Neuroblastoma progression 12 . Hi-C data from the cell line CHP-212 showed the formation of a neo-TAD connecting MYCN to distal super-enhancers. We compared the TAD boundaries identified using scaled ec3D distances ( Fig. 4a , lower triangle ) against those identified using Hi-C ( Fig. 4a , upper triangle ). As TAD structures are often supported by CTCF binding sites 8 , 24 , we measured the proximity of TAD boundaries to CTCF binding. Remarkably, the ec3D predicted TAD boundaries explained 53.85% of the top CTCF peaks (Methods and Supplementary Table 7, p-val 4.5e-10) in comparison to the 26.92% explained using Hi-C (Supplementary Table 8, p-val 0.0029). Furthermore, the ec3D reconstruction provided a clear delineation of the TAD comprising 2 distal regions on chr2, containing both MYCN and a super-enhancer, but not native MYCN enhancers ( Fig. 4b ). Download figure Open in new tab Fig. 4. Significant interactions on ecDNA. a , TAD boundaries identified using scaled ec3D distances (lower triangle) compared against those identified using Hi-C (upper triangle). The TAD boundaries predicted using scaled ec3D were more proximal to CTCF binding sites (Dark colored peaks). b , 3D structure of CHP-212 ecDNA. Dashed box encloses the MYCN Neo-TAD in CHP-212 containing MYCN and a super enhancer from a distal segment on chr2. The dashed line distinguishes a region with overexpressed genes (bottom right) from the other region with base-level gene expression (top left). Predicted TAD boundaries proximal to CTCF binding sites are shown. c , Distribution of number of significant interactions (ref-SI) as a function of reference genomic distances in RCMB56 ecDNA, compared to control cell lines GM12878 and IMR90. d , Differential circ-SI interactions that are spatially distant, suggesting trans-interactions in RCMB56. Both interactions connect an active enhancer at SELENOF locus to remote oncogenes ( DNTTIP2 and ABCD3 ). e , Differential interactions in D458 connecting MYC and a remote enhancer on chr14. Single-cell RNA-seq data of CHP-212 had previously revealed that of the 6 genes present on ecDNA, 4 were overexpressed ( LPIN1, TRIB2, DDX1 , and MYCN ), but the expression of two genes GREB1, NTSR2 remained at basal level, with median expression at least 5X lower than the minimum median expression of the overexpressed genes ( Supplementary Fig. 15 ) 39 . The ec3D structure clarifies this observation by revealing separate topological domains, one containing LPIN1, TRIB2, DDX1 , and the other containing MYCN along with a super-enhancer, while excluding the other two genes. Intriguingly, LPIN1 was split in the ecDNA. The 5’ half of LPIN1 was over-expressed along with TRIB2 and DDX1 , while LPIN1 3’ half was excluded and not-expressed ( Supplementary Fig. 16a ). Moreover, the structural variation that split LPIN1 , brought the LPIN 1 5’ end in proximity to the 3’ end of MIR3681HG , resulting in expression of a fused transcript ( Supplementary Fig. 16b ), and also a readthrough event resulting in expression of intronic DNA downstream of the genomic breakpoint ( Supplementary Fig. 16c ). Finally, the circularization removed the region immediately upstream of GREB1 , consistent with its reduced expression. Thus, ecDNA can alter the regulation of genes through a combination of structural variation and 3D conformational change. We also investigated a TAD on the Medulloblastoma cell line D458, which is a 2.5 Mbp molecule amplifying the oncogenes MYC (chr8) and OTX2 (chr14) on an ecDNA. Earlier results had suggested that a DNase-hypersensitive region (DHS1 40 ) containing a putative enhancer located 80 Kbp from the OTX2 gene on chr14 was essential for proliferation of the cell line 17 , and it was speculated that DHS1 might be hijacked by MYC to drive proliferation. However, DHS1 was found not to influence MYC activity on D458 17 ; instead, it enhanced OTX2 expression in other Medulloblastoma cell lines 40 . Ec3D analysis suggests a neo-TAD that includes DHS1, OTX2 , and the lncRNA OTX2-AS1 , but not MYC , providing more clarity for the observed experimental data ( Supplementary Fig. 17 ). We also noted that an inversion of the OTX2 region brought OTX2-AS1 closer to the enhancer on the ecDNA, in contrast to their positioning on the reference genome. Ec3D reconstructions enable identification and clustering of significant Hi-C interactions We used ec3D to identify the mechanisms of significant interactions (SIs) between pairs of bins in an expanded matrix. We used 3 methodologies ( Methods, Supplementary Table 6 ), each capturing a subset of the possible interactions. Briefly, ref-SI captured SIs relative to expectation on the reference genomes. It was the most general method for capturing significant interactions. The next method, circ-SI, captured SIs after conditioning on the ecDNA sequence, thereby removing interactions due to the joining of distal segments (structural variations) leading to ecDNA formation. The third measure, spatial-SI, captured interactions that could be directly attributed to higher spatial proximity in the ec3D reconstruction, relative to their genomic distance on the ecDNA. Thus, circ-SI and spatial-SI captured decreasing subsets of the interactions predicted by ref-SI. The number of ref-SI interactions in the ecDNA of GBM39 and RCMB56 was significantly larger relative to the identical region in controls GM12878 and IMR90, and the difference was most pronounced at larger genomic distances due to circularization (two-sample Kolmogorov-Smirnov test p-values: GBM39-GM12878 = 0.024, GBM39-IMR90 = 0.00016, RCMB56-GM12878 = 1.2e-36, RCMB56-IMR90 = 1.1e-71; Fig. 4c , Supplementary Fig. 18 ). The results did not change even after rescaling the control matrices to correct for the higher copy number of ecDNA ( Methods ). In fact, the number of significant interactions reached a local maximum in most cases without the need for rescaling. Furthermore, the proportion of distance-dependent significant interactions remained consistent despite variation in the total number of interactions. Ec3D reconstruction captures “crossing” interactions We next investigated if ecDNA could have significant interactions with a non-planar topology, unlike interactions on TADs that are represented as diagonal blocks consistent with a planar topology. One discernible feature of a complex or non-planar 3D fold is the presence of “crossing” significant interactions, which can be described by 4 remote loci, or two interacting pairs ( x, z ) and ( y, w ), such that x < y < z < w , corresponding to a topological constriction with k=2 ( Supplementary Fig. 19a ). While the smaller ecDNA structures (e.g. GBM39, Fig. 3b ) encompassed only a single topological constriction, other, larger ecDNAs contained multiple topological constrictions with crossing interactions ( Supplementary Table 3 ). For example, we identified 15 crossing interactions from the D458 ecDNA 17 . Among these interactions, one between 500 Kbp distal sites on the MYC-PVT1 locus crossed another interaction that connected the region upstream of TMEM260 in chromosome 14 with a region upstream of CASC8 on chromosome 8 ( Supplementary Fig. 19b ). The results suggest that ecDNA can promote novel interactions utilizing not only structural variation but also complex topological constrictions. Ec3D reconstructions identify multi-way interactions We used Louvain clustering ( Methods) to obtain clusters of ref-SI interactions for each of the cell lines, suggestive of complex regulatory networks. In D458, we identified 6 ref-SI clusters ( Supplementary Table 9) . One of these was a clique-like interaction among multiple loci on chr8 and chr14: chr8:127.95-128.02Mbp, the PVT1 locus; chr8:128.44-128.58Mbp; chr8:128.70-128.74Mbp; and chr14:56.80-56.88Mbp, the OTX2 locus ( Supplementary Fig. 20a ). A second cluster (cluster 4) from the same cell line showed a star-like connectivity where a central region containing MYC, PVT1 interacted with multiple distal loci situated ∼430 Kbp 5’ upstream, and ∼800 kb, ∼1.01 Mb, and ∼1.06 Mb 3’ downstream of the MYC/PVT1 region ( Supplementary Fig. 20b ). The regions upstream and downstream of MYC/PVT1 are devoid of coding genes but contain ncRNA including CASC8 and CASC21 . These findings support earlier studies that show the co-amplification and ecDNA formation of these two distinct regions in multiple acute myeloid leukemia samples 41 . It is also notable that the ncRNA PVT1 appears (partially) with 4 copies in the ecDNA with SV driven proximity to OTX2, TMEM260 (natively on chr14) and CASC8, MYC (chr8) consistent with its role in mediating gene fusions 42 . Ec3D reveals ‘differential’ Hi-C interactions As described earlier, we used circ-SI to identify significant interactions that cannot be attributed to structural variations. We next used spatial-SI to identify significant interactions that were specifically due to spatial proximity. Indeed, in the simpler structures such as GBM39, interactions in circ-SI were also identified using spatial-SI ( Supplementary Fig. 21 ). Surprisingly, in the ecDNA of RCMB56 ( Supplementary Fig. 22 ) and D458 ( Supplementary Fig. 23 ), we observed many differential interactions–interactions in circ-SI that were not identified by spatial-SI. These interactions could not be attributed either to sequence proximity created by structural variation in ecDNA or to spatial proximity corresponding to topological constrictions. We also did not find evidence of other structural variations that could indicate heterogeneity of ecDNA in the sample. Many mechanistic reasons could explain these differential interactions. They could, for example, occur due to heterogeneity of ecDNA structure. Another intriguing hypothesis is that these differential interactions are trans-interactions , where regulatory elements in one ecDNA are utilized by a different ecDNA in the same hub, as has been suggested previously 14 , 43 . We explored the occurrence of known regulatory sites in regions with differential interactions. In RCMB56, the region from chr1:86.905-86.935Mbp interacted with multiple distal regions, including chr1:93.845-93.885Mbp, containing the oncogene DNTTIP2 , and chr1:94.410-94.430Mbp, containing ABCD3 ( Fig. 4d ). An H3K27Ac peak, reflective of an active enhancer, was prominent at chr1:86.915Mbp in multiple tissue types 44 ( Supplementary Fig. 22 ) . Similarly, we observed a multi chromosomal trans-interaction between chr8:127.73-chr8:127.745Mbp and chr14:56.645-56.675Mbp in D458 ( Fig. 4e ), where the chr8 region contained the oncogene MYC , and the chr14 region contained an active enhancer mark ( Supplementary Fig. 23 ). Discussion EcDNAs are circular acentric molecules that are exclusively and ubiquitously found in cancer cells, where they are responsible for oncogene amplification and increased pathogenicity. Their unusual shape and highly accessible chromatin allow for enhancer hijacking and regulatory rewiring. Here, we add another layer of understanding of ecDNA, by presenting the first algorithm to reconstruct its 3-dimensional structure using chromatin capture data. While these are large molecules and not expected to have a rigid structure, our results on extensive simulation experiments and on real data suggest that most proximities are accurately captured by ec3D. Larger α values imply relatively stronger interactions even between spatially distant regions, adding more information for our structure reconstruction. Because ecDNAs are formed by joining multiple distinct genomic segments and are circular, Hi-C interaction is exactly strong between a pair of bins when they are brought proximal either because of the structural variation or because of a topological constriction. In all experiments, ec3D reconstructions consistently showed strong inverse correlations between the spatial distance of bin pairs and the strength of their Hi-C interactions. Compared with Multidimensional Scaling (MDS) based methods 31 , 35 , 45 , 46 , which attempt to minimize a stress function that measures a discrepancy between the “wish distances” and the 3D distances of the structure, the Poisson model 32 allows more flexible handling of duplicated segments, as one either has to compute wish distances between each copy of a duplicated bin and other bins by splitting the interactions; or introduce a stress function to measure the discrepancy between the expected and observed interactions in duplicated regions. The challenge of 3D reconstruction of DNA structures can potentially be addressed by other complementary methodologies. Multiplexed imaging of hundreds of genomic loci by sequential hybridization has the potential to elucidate 3-dimensional structures of entire chromosomes at single-cell levels, albeit with a tradeoff between throughput and resolution 47 , 48 . Here, we focused on chromatin capture data due to higher resolution and ease of data acquisition. The complex multichromosomal configuration of ecDNAs also makes Hi-C a more appropriate technology. As imaging technologies improve, they may help with resolving native ecDNA structures at a single-cell level. Newer exciting developments, such as the optical reconstruction of chromatin architecture (ORCA) promise genomic resolution of 2 Kbp 49 , and our future work will explore synergies between these different methodologies. The Hi-C data are derived from a population of cells, and each cell carries many copies of the same (or very similar) ecDNA species. It is possible that the 3D sequence of ecDNA varies at a single molecule level. Here, we focused on providing a single, representative structure that is practical for generating hypotheses, designing experiments, and integration with other data types (e.g., ChIP-seq) which are often gathered at the bulk level. Furthermore, consensus structures have proven useful in revealing the components of regulatory machinery in a region, including topologically associating domains (TADs) and chromatin loops 8 . In the samples that we analyzed, a single ecDNA structure dominated and its sequence could be unambiguously obtained. Moreover, there was a strong correlation between the number of interactions and the predicted distance across all molecules tested, providing confidence in the predicted structure. Because ecDNAs are large molecules, with flexibility of DNA conformations, we hypothesized that their 3-dimensional structure was not entirely intrinsic, but was impacted by interactions with proteins, including proteins involved in gene regulation. It had been shown previously that ecDNAs generate new topologically associated domains and rewire the regulatory circuitry with previously inaccessible enhancer regions hijacked by oncogenes. To test this phenomenon more, we first looked at the volume occupied by ecDNA. Our results suggest that ecDNAs fully occupy a 3-dimensional volume, making their shape less disk-like and more oblate spheroidal. The 3-dimensional shape allows for more complex patterns of interaction, and possibly rewires the regulatory circuitry in ways that could be quite different from the chromosome. Indeed, our analysis of significant interactions revealed many interesting cases; we found crossing interactions which would not be possible in a planar structure; examples of clique-like and star-like interactions implying proximity of multiple regions (multiple enhancer elements regulating a gene); and also possible evidence of trans-interactions between different ecDNA molecules. These early findings provide new hypotheses that can be tested in future work, for example, through changes in differential interactions upon dissociation of ecDNA hubs. We used ec3D to investigate the structure of amplified regions on isogenic lines which were mostly identical except for the location of focally amplified region, which is either extrachromosomal or intrachromosomal. Remarkably, the amplicon had very similar structures suggestive of similar regulatory patterns. Indeed, in addition to neo-TADs, chromosomal TADs have also been observed on ecDNA. These reconstruction data also shed light on the possible 3-dimensional structure of HSRs. As the resolution of Hi-C data improves, we can use our methods to better distinguish between different HSR configurations. The ec3D algorithm can work even when the ecDNA contains duplicated segments whose interactions are all collapsed in the input Hi-C data. We investigated the fine structure of duplicated regions and found that while some duplicated regions have very similar structures, others do not, consistent with the idea that the 3D structure of ecDNA is not intrinsic to its sequence but is mediated by interacting proteins. We even found a significantly similar structure of the same region amplified in two different cell lines, suggesting common patterns of regulatory wiring across different samples. There are many future avenues for improving the basic methodology. Clearly, the technology requires a complete and correct ecDNA primary sequence. This is often challenging with short read based reconstruction which could be ambiguous, and miss many critical breakpoints. Here, we selected ecDNA structures that were tractable and showed minimal cell-to-cell heterogeneity. This method should not be deployed straight out of the box into unvalidated structures, or patient samples where there is often greater heterogeneity than in cancer cell lines. However, with long-read technologies, the prediction of the ecDNA sequence is possible even for complex ecDNA 20 . Newer methods for single-cell Hi-C 50 , 51 will allow for measurements of cell to cell variability of ecDNA structures, and also help elucidate the structures of multiple ecDNAs in the same sample. Methods are also being developed that disrupt the tethering of ecDNA to chromosomes, or to other ecDNA 14 . Future work aimed at studying the change in structure due to disruption of tethering could help identify the DNA elements involved in tethering, resolving an important biological problem. In summary, ec3D provides a new tool for the exploration of the regulatory biology of extrachromosomal DNA and other focal amplifications. Methods Modeling genomic duplications in Hi-C The input ecDNA genome often contains duplicated segments of a reference genome. Standard Hi-C mapping and binning methods are unable to separate the interactions on (and between) each distinct copy of a duplicated segment; instead, we observe the sum of interactions given by all copies of that segment. Formally, we refer to the collapsed matrix as the Hi-C matrix where each duplicated segment occurs only one time; and the expanded matrix as the Hi-C matrix representing the structure of ecDNA where all duplicated segments occur as many times as they are duplicated. Note that only the collapsed matrix is observed. The expanded matrix, which must be inferred, determines the structure of ecDNA and the significant interactions on ecDNA. To differentiate collapsed matrices and expanded matrices, we use the following notations throughout the method description: N e : total number of fixed resolution bins in the expanded matrix. We typically use 5K or 10K resolution. The size of the expanded Hi-C matrix is N e * N e . N c : total number of bins involved in ecDNA in the collapsed Hi-C matrix, which is of size N c * N c . L i : denotes the genomic coordinates (at 5K resolution) corresponding to bin i . Note that in an expanded matrix, different bins may have the same genomic location if they come from duplicated segments on ecDNA. ℛ i : For each bin i in the collapsed matrix, ℛ i = a ∈ {1, ⋯, N e } | L i = L a denotes the set of indices in the expanded Hi-C matrix that have the same genomic location as bin i . The bin i is denoted as unique , if |ℛ i | = 1, and duplicated otherwise. C ij : #interactions between bins i, j in the collapsed Hi-C matrix. E ab : #interactions between bins a, b in the expanded Hi-C matrix. We make the assumption that the observed number of interactions C ij between a pair of bins i, j is given by: The following methods are developed based on this principle. Preparing ecDNA Hi-C matrices Ec3D’s three-dimensional reconstruction only depends on interactions within the ecDNA intervals. Therefore, we first create an ecDNA Hi-C matrix by extracting, reassembling and reorienting the submatrices corresponding to interactions between pairs of segments composing the ecDNA. The input ecDNA sequence is given as a list S = [( s 1 , o 1 ), ( s 2 , o 2 ), ( s 3 , o 3 ), ⋯] of ordered and oriented genomic segments, where each s i denotes a genomic interval and o i ∈ {‘ + ’, ‘ − ’} indicates the orientation of s i . The Hi-C data is provided as a matrix of interactions between genomic bins from the whole genome. As a first step, we map each segment to a collection of bins, allowing for duplications, to obtain the N e bins that are amplified by the ecDNA. For each pair of segments ( s i , s j ), we extract the corresponding submatrix of binned Hi-C interactions, and reassemble these submatrices into a single matrix E of size N e * N e bins according to their order in S , with inverted segments ( o i = ‘ − ’) reoriented ( Fig. 1 ). Next, we iteratively remove all rows (and columns) a ’ if there exists a column a < a ’ with in E . This results in a collapsed matrix C , to be used subsequently. Additionally, we keep the mapping of indices from the expanded matrix E to the collapsed matrix C to query the indices in each ℛ i . Normalizing ecDNA Hi-C matrices The Hi-C data is typically normalized, for example, using ICE normalization 52 , to correct for bin-to-bin variation by ensuring that for each bin i in the normalized matrix . Within the ecDNA Hi-C matrix, we also ignore the copy numbers contributed by the normal chromosomes as they are much smaller than the ecDNA copy numbers, and copy numbers are uniform across the ecDNA. However, normalization must account for duplications of genomic regions within the ecDNA. With an expanded matrix E , we could enforce . Instead, we work directly with the collapsed matrix, and aim to compute But since E ICE isnot known, we approximated through a generalized version of ICE normalization such that in the normalized matrix (of the reassembled matrix C ), , where | ℛ i | is the multiplicity of genomic bin i on ecDNA. Finally, to keep the original scale of interactions, we multiply a constant to the normalized matrix C ICE and work on the scaled matrix r · C ICE in the following steps. We implemented the normalization procedure above using the iced package 53 . Reconstructing the 3D structure of ecDNA Given a normalized Hi-C matrix for ecDNA C ICE (or r · C ICE ), we compute a single consensus (of multiple copies of ecDNA in a mixture of cells) 3D structure of the ecDNA. Formally, we compute a vector of dimension N e × 3 - where X a = ( x a 1 , x a 2 , x a 3 ) represents the coordinate of bin a ( a ∈ 1, ⋯, N e ). Define as the Euclidean distance between bin a and bin b given the coordinates of X a and X b . The normalized interaction frequency is modeled as a Poisson random variable, relating to d ij . Specifically, for a pair of unique bins i, j , the expected number of interactions is given by , for parameters α 0, which are estimated separately for each dataset. The parameter α describes the rate of power law decay of Hi-C interactions due to spatial distances, and β can be treated as a scaling factor. Moreover, the likelihood of observing interactions between a pair of bins i, j is given by a Poisson(-like) distribution When the bin pairs are not unique, we define , and the likelihood is computed based on the new expectations. We aim to maximize the log likelihood of the overall collapsed matrix C ICE or minimize . Additionally, we control the variance between consecutive bins a and a + 1 using a regularization term proportional to This is based on the assumption that every pair of consecutive bins should be spaced approximately equally in Euclidean space. The overall optimization problem is given as follows where a constant term is ignored for the minimization. The weight γ of the regularization term is provided as a user input, and by default we set γ to 0. 05 · N e . Implementation details The optimization is done iteratively, for X and α (and β), with l-BFGS 54 algorithm implemented in SciPy: Start with an initial estimation of X ; Minimize the negative log likelihood with respect to α and β by fixing X ; Minimize the negative log likelihood over X after fixing α and β; Iterate steps 2 and 3 until convergence or reaching an upper bound of rounds (by default we set the maximum round to 1000). To determine convergence we look at the value of objective function in the last 10 rounds and set the convergence criteria to | obj i − obj i −10 | / max ( obj i , ⋯, obj i −10 ) < ϵ , where obj i and obj i −10 are objective values at the current round and 10 rounds before, respectively. To avoid local minimums due to non-convexity, we run the initialization and iterative optimization 5 times, with random initialization of X for running MDS (see below for the initialization of X ), and keep the final X which leads to the best objective value. In the optimization process, we require that the three dimensions are bounded by [-1, 1], but do not enforce any limit on β to allow flexible scaling of the structures. Initialization of X We found that initialization plays an important role in deriving the optimal coordinates X ( Results, Supplementary Fig. 8 ), and therefore we try to initialize X sufficiently close to the final solution by initializing X with running a procedure similar to multidimensional scaling (MDS) 32 . Note that the naive MDS requires the expanded matrix to work with. To obtain the expanded matrix for MDS, we redistribute the normalized interactions to E ab for all a ∈ ℛ i , b ∈ ℛ j in proportion to (i.e., with the assumption that α =− 3; β, the scaling factor, can be canceled out here). Thus, When a, b ∈ ℛ i , we set (i.e., the average of all unique bin pairs a ’ and b ’ with the same distance as bin pair a, b ; and we use genomic distance as defined below) when redistributing the diagonal elements. Since the Euclidean distance is not known, we use a circular genomic distance on ecDNA as a proxy: d ab = g ab = min (| a − b |, N e − | a − b |) - the shortest distance between bin a and b on the circular ecDNA structure. To better compute X we allow some flexibility in redistributing interactions by treating E ab as variables in the optimization process and adding a stress function to penalize the discrepancies between and C ij . Specifically, the objective of MDS can be written as where δ ab = ( E ab /β) −1/3 is the wish distance. Again we set α =− 3 regardless of the true/optimal values as MDS is run just for initialization purposes. Resolving HSRs created through reintegration of ecDNA We preprocessed data to reconstruct the structure of HSRs formed by head-to-tail recombination of the ecDNA sequence and subsequent chromosomal reintegration. We ran CoRAL 20 to obtain a single copy composing this underlying tandem-duplication like HSR genome (see section ecDNA genome reconstruction from WGS data below) and duplicated the first 3 bins, representing 15 Kbp of sequence during preparation of the collapsed matrix. The predicted CoRAL sequence along with the 15 Kbp duplication was provided as input to ec3D for structure reconstruction. Ec3D automatically normalized the collapsed matrix and reconstructed HSR structures. Identifying significant interactions Increased Hi-C interactions can be attributed to three main factors: (a) reference genome proximity, which leads to spatial proximity, (b) spatial proximity induced by structural variants (SVs) 28 , 55 – 57 , and (c) spatial proximity introduced by a conformational change. Furthermore, due to the higher copy number of ecDNA and potential formation 14 , 43 , significant interactions may also reveal trans interactions between two ecDNA molecules. As per previous methods 25 – 27 , we define significant interactions as pairs of bins ( a, b ) ( a, b = 1, ⋯, N e ) with interaction frequencies E ab much more than expected at a given genomic distance. We first introduce a unified method in ec3D that computes significant interactions for an abstract definition of genomic distance here. In the next subsection, we describe different choices of genomic distance functions that allow us to distinguish interactions due to SVs from interactions due to conformational change. Specifically, we always model the interactions at each genomic distance g using a Negative Binomial distribution with mean μ g and variance σ g (σ g > μ g ). The statistical significance (p-value) of E ab is computed as the probability of observing at least E ab interactions with the underlying distribution: P ab = ℙ ( e ≥ E ab ), e ∼ NB (μ g , σ g ), ∀ a, b Satisfying g ab = g . Then we correct all resulting p-values for multiple testing using the Benjamini-Hochberg procedure to compute an adjusted p-value (i.e., q value) for each bin pair ( a, b ). By default, pairs of bins with q value < 0. 05 are denoted as significant interactions. We noticed that significant interactions often occurred clumped with their neighboring bin pairs in the Hi-C matrix, at high resolutions such as 5K. Therefore, we implemented an option to only output the locally maximal significant interactions, i.e., those with interaction frequencies greater than their top, bottom, left and right neighbors. The mean (μ g ) and variance (σ g ) of the number of interactions at each genomic distance g are estimated by computing the empirical mean and variance of interactions E ab for all a, b satisfying g ab = g , after detecting and removing outliers using the IQR method 58 . The computation of significant interactions also requires the expanded matrix E ab . To compute the expanded matrix, we first redistribute raw interactions C ij to E ab for all a ∈ ℛ i , b ∈ ℛ i similar to equations (6) and (7) described in Initialization of X , but using the optimal values of spatial distance d ab and α: and otherwise. The resulting expanded matrix E ab is then renormalized with ICE normalization. Finally, we exclude potential false positive calls due to an artifact of ICE normalization. For example, in RCMB56 matrix, row (or column) 27 has only a few non-zero entries, potentially due to a mapping/binning artifact of HiC-pro, but ICE normalization forces this row to have the same sum of interactions as other rows. As such the interaction counts were boosted by ICE normalization, making them returned as significant in the p-value calculation. We postprocess significant interactions by removing all rows with much less non-zero entries than average again with the IQR method. Ec3d implements a user option to remove interactions in certain rows/columns. Choosing genomic distance between two bins The circular genomic distance defined in section Initialization of X implicitly removes the effect of SV breakpoints joining remote genomic segments (in S ) on ecDNA. In contrast, to capture both SV-driven and conformation-driven significant interactions, we define the genomic distance between bin a and b as their genomic distance on the reference genome: When L a and L b are located on the same chromosome, where g max is a sufficiently large genomic distance with no (or few) interactions on expectation at this distance; and g ab = g max when L a and L b are located on different chromosomes. Notice that genomic distance is not continuous in Hi-C - two adjacent values differ by a fixed resolution, e.g., 5 Kbp. We set g max to the size of ecDNA to avoid large gaps between two genomic distances. We refer to ref-SI as bin-pairs ( a, b ) where the number of Hi-C interactions between loci in bins a and b was significantly higher than expected for the reference genomic distance between the bins; circ-SI as pairs ( a, b ) where the number of Hi-C interactions was significantly higher than expected for the circular distance . The number of bin pairs on ecDNA usually decreases (linearly) with increasing reference genomic distance. Bin pairs that do not share the same genomic distance with any other pairs are unlikely to be identified as significant, due to the way p-values are calculated. Therefore, we sort all bin pairs according to their genomic distances, and partition them into groups, each with at least bin pairs, by greedily merging bin pairs that are similar in genomic distance. The mean and variance of the number of interactions are estimated separately for each group and used to compute nominal p-values. If circular genomic distance is used, this partition is not needed as the number of bin pairs at each genomic distance remains the same (i.e., N e ), except for a maximum distance with bin pairs when N is even. Identifying candidate trans -interactions Earlier research has revealed that ecDNA forms hubs with regulatory interactions between different ecDNA molecules 14 , 43 . Therefore, it is possible that ecDNA Hi-C data includes interactions between distinct copies of ecDNA molecules. To identify cis interactions within ecDNA, we can optionally compute significant interactions with respect to the ratio between circular genomic distances and spatial distances. Specifically, for each distance g , and all bin pairs ( a, b ) such that , we fit a Negative Binomial distribution for the ratio g / d ab . Pairs of bins with significantly high ratio after FDR corrections corresponded to significant interactions relative to their spatial proximity. We refer to this third measure of significant interactions as spatial-SI . Significant interactions computed from Hi-C using circ-SI that are not found using spatial-SI are suggestive of “secondary” interactions. These interactions can result from alternative 3D conformations, secondary SVs (not participating in the ecDNA sequence), or trans interactions between ecDNAs. Identifying significant interactions from rescaled matrices To show that significant interactions on ecDNA were not due to their higher copy numbers, we rescaled the case (i.e., ecDNA) and control (i.e., extracted from the same intervals from non-amplified cell lines) Hi-C matrices by a factor ranging from 0.25 to 4, and then identified significant interactions with the same procedure but from the rescaled matrices. The results suggested that the number of significant interactions is not monotonically increasing with the total number of interactions, and the pattern of significant interactions as a function of increased genomic distance remains the same. In fact, the number of significant interactions reached a local maximum in most cases without rescaling. We note that the variance of interactions at each genomic distance decreased quadratically to the downscale factor, breaking the negative binomial property when the rescaling factor becomes too small. As such we only tested rescaling factors that preserve larger variance than mean interactions at 90% of all distinct genomic distances. Clustering significant interactions EcDNA often exhibits complex conformations that form multi-way interactions among different regions within its structure to amplify the oncogene and other associated gene expression. The connectivity of these multi-way interactions (e.g. star-like shape or clique-like) indicates different types of interacting pathways. To identify multi-way interactions, we build an interaction network G = (𝒱, ℰ) from all significant interactions where the node set 𝒱include all bins involved in a significant interaction and the edge set ℰindicates the actual interactions. We detect communities in the interaction network G by using Louvain clustering. Louvain clustering 37 partitions nodes into clusters while maximizing the modularity score (density of links within clusters compared to links between clusters). Simulations We simulated ecDNA 3D structures and their corresponding Hi-C data to assess the effectiveness of ec3D in 3D structure reconstruction. At the highest level, we introduced the notion of topological constrictions to simulate the effect of major conformational changes on ecDNA structures. Topological constrictions generalize chromatin loops - which typically connect a pair of bins (x, y) that are genomically far - by specifying two broader intervals of bins [ x, x + ∆ x ], [ y, y + ∆ y ] where the neighboring bins around x and y are generally genomically distant but spatially close, resulting in strong off-diagonal Hi-C interactions. Increased number of topological constrictions usually indicates more complex 3D structures. Each simulated structure was obtained by sampling evenly spaced points from a circular 3D curve. We generated a diverse set of base structures by varying three key parameters, which determine the shape of the underlying 3D curve and the number of points to be sampled. First, we incorporated k ∈ {1, 2, 3} topological constrictions. Second, we varied the spatial distance between the two intervals that participate in a topological constriction. Third, we simulated structures of different sizes by varying the total number of points N e ∈ {250, 500, 750}. In addition, we introduced local folds on each base structure by randomly disturbing the positions of small collections of continuous points. See Supplementary Fig. 1 and Supplementary Methods for details. In these simulated structures, each point can be treated as the spatial placement of a genomic bin at a fixed Hi-C resolution. We next generated an expanded Hi-C matrix E of size N e × N e from each simulated circular structure with N e bins as follows. For each pair of bins a, b ∈ {1, 2, ⋯, N e }, we sampled the interaction counts E ab from a Poisson distribution with mean , where d ab represents the Euclidean distance between bins a and b . The parameters α and β were randomly chosen from [-3, -0.75] and [1, 10], respectively. Next, we simulated duplications by designating contiguous ranges of bins as duplicated regions in each Hi-C matrix E , and summing up the interaction frequencies of duplicated bins in E to obtain the collapsed matrix C of size N c × N c . To evaluate ec3D’s ability to reconstruct structures where duplicated regions fold into different conformations, we finally designed our simulations in a way that half of the samples had the same local substructures for the duplicated regions, while the other half had different local substructures. Using the procedure described above, we randomly generated 10 structures for each combination of k ∈ {1, 2, 3} and N e ∈ {250, 500, 750}, which led to 90 structures in total. And for each simulated structure, we generated 5 expanded matrices E without duplication and 5 collapsed matrices C with duplication by varying α and β, giving 450 expanded matrices and 450 collapsed matrices. Performance metrics (RMSD, PCC) Similar to other 3D reconstruction methods, we measure the (dis)similarity between two 3D structures X and X ’ of the same size N through root mean squared distance (RMSD) and Pearson correlation coefficient (PCC): where d ij is the Euclidean distance between bin i and bin j , and . However, due to the flexibility of coordinates with respect to rigid transformation in reconstruction, we first aligned X and X ’ by translation, scaling, and rigid-body rotation using the Kabsch-Umeyama algorithm 59 . For a brief summary, the algorithm works in three steps. (i) Move the centroid of both structures to the origin by subtracting X and X ’ with their centroid and . (ii) Rescale the two structures by their maximum diameters. (iii) Rotate X by singular value decomposition (SVD) to align it with X ’ in the optimal orientation. Namely, we computed SVD of X · X ’ T = VSW T and rotated X by ( W · V T ) · X . Similarity of 3D structure in duplicated regions We used a permutation test to measure the significance of similarity between the local structures of duplicated regions D 1 and D 2 on the same ecDNA, or corresponding to the local 3D reconstruction of the same genomic interval but from different samples (e.g., ecDNA and HSR amplicon of MYCN ). Specifically, to compare duplicated regions D 1 and D 2 on the same ecDNA, we randomly sampled 5,000 regions S i ( i = 1, 2, ⋯, 5000) of the same size from the same molecule, and computed the fraction of times, a random pair ( D , S ) had smaller RMSD or larger PCC compared to the duplicated pair ( D 1 , D 2 ) as the empirical p-value. To compare 3D reconstruction of the same genomic interval from different samples, we sampled S i from the larger genome. Comparison of ec3D against other reconstruction methods To compare ec3D and other methods (MiniMDS, ShRec3D, and PASTIS), we input the collapsed matrix C to these tools and allow them to reconstruct the structure from simulations with default parameters. For simulations without duplication, we directly compared the reconstructed structures from each method to the ground truth structures. However, since these methods treat duplicated segments as single instances when processing the input matrix, they output a structure of size N c × 3, with only one copy of each bin when duplication exists. We therefore compared their reconstructed structures to a partial ground truth structure consisting of all unique bins and only the first copy of each duplicated bin. Minimum bounding box analysis A minimum volume bounding box can be used to describe the overall 3D shape of an ecDNA structure. We implemented both the “rotating calipers” method 60 and PCA to compute the bounding box. Rotating calipers method takes time and computes an exact solution; PCA takes O ( N e ) time for the N e × 3 structure matrix X and gives a good practical solution, though without approximation guarantee 61 . In fact, we mainly focused on the ratio between the largest dimension and the smallest dimension of the bounding box, which can separate disk-like structures from spherical structures. Both methods suggested extremely similar ratios (reported in Results) - even if the optimum bounding boxes computed by rotating calipers turn out smaller than PCA bounding boxes. We additionally tested if the reconstructed ecDNA structures could be placed into a “flatter” bounding box (i.e., with smaller edge length ratios) and still generate the observed Hi-C interactions. Specifically, we reconstructed 3D structures of the ecDNA by optimizing the objective function described in equation (5) with the scaling parameter β fixed, but with the maximum range of the first axis repeatedly halving from [-1, 1] to . The other two axes remain in the range [-1, 1]. By fixing β, we ensured that the structure was not shrinking proportionally in all axes in reconstruction. Decreasing the range of one axis would not impact the Poisson likelihood of a disk-like structure, as bins could still be placed on a plane orthogonal to that axis, preserving the pairwise spatial distances; while for spherical structures the Poisson likelihood would become worse, due to additional constraints in the 3D space disrupting expected spatial distances suggested by Hi-C interactions. Hi-C data preparation We downloaded the raw Hi-C data of CHP-212 and IMR-5/75 from Helmsauer et al. 12 , D458 and RCMB56 from Chapman et al. 17 . We downloaded high coverage GM12878 and IMR90 Hi-C (as control samples without ecDNA amplification) from 4D nucleome ( https://data.4dnucleome.org/ ). The Hi-C library for H2170 was prepared using the Arima-HiC kit. Hi-C libraries for GBM39EC and GBM39HSR were prepared following a standard protocol to investigate chromatin interactions 24 . Samples were sequenced using Illumina NovaSeq in 150 bp paired-end reads, with 3 replications for both GBM39EC and GBM39HSR. We combined these replications into a single matrix in our structural reconstruction. We processed the raw Hi-C reads with HiC-Pro version 3.1.0 53 . This process included aligning the reads to the human reference genome (hg38), removing duplicate reads, assigning reads to restriction fragments, filtering for valid interactions, and generating binned contact matrices. For Arima Hi-C we set the restriction enzyme to ^GATC and G^ANTC, and trimmed 5 bases from the 5’ end of both read 1 and read 2 before alignment as per their user guide. Otherwise, we set the restriction enzyme to Dpnii, and did not trim the reads. We generated contact matrices at resolutions ranging from 2 Kbp to 1 Mbp, but focused on 5 Kbp resolution mostly in our analysis, allowing for a detailed description of chromatin interactions. The HiC-Pro output was converted into cooler format (*. cool or *. mcool ) 62 required by ec3D. Note that ec3D also supports * . hic format as input compatible for visualization and analysis with Juicebox tools 63 , and internally converts * . hic input to *. cool format using hic2cool ( https://github.com/4dn-dcic/hic2cool ). ecDNA genome reconstruction from WGS data Ec3D requires an ecDNA sequence as input. For GBM39, GBM39HSR, CHP-212, IMR-5/75 (HSR), and H2170, we assembled the ecDNA genomes from Oxford Nanopore WGS by running CoRAL 20 . We ran CoRAL with a non-default command line argument ‘--min_bp_support 10.0’ (i.e., with minimum coverage cutoff 10 times the diploid coverage for breakpoints) to eliminate redundant breakpoints that could result from non-ecDNA structural variations or heterogeneous ecDNA sequences. We extracted the cycle with the largest predicted copy number from CoRAL’s output as the (primary) ecDNA sequence. For RCMB56 we ran AmpliconArchitect 18 with default parameters on paired-end short reads and again selected the cycle with the largest CN as its ecDNA sequence. The resulting ecDNA sequence of RCMB56 also agreed with optical genome mapping (OGM) contigs 17 . For D458, we reused the ecDNA sequence from Chapman et al. 17 computed by AmpliconReconstructor 64 from WGS and OGM contigs. Compared with AmpliconArchitect output consisting of multiple small cycles (as part of the ecDNA sequence), OGM provided a single consensus ecDNA sequence of D458 that was supported by all informative contigs 17 . RNA-seq data processing We downloaded the RNA-seq data of CHP-212 from Boeva et al. 65 For RNA-seq analysis, we aligned the reads to hg38 and called gene fusion events in ecDNA intervals using STAR-Fusion 66 (v1.14.0) with its built-in annotation GRCh38_gencode_v44_CTAT_lib_Oct292023.plug-n-play. We quantified the expression coverage for each 5Kbp bin by first counting the coverage of each 50-bp bin using deepTools 67 v3.5.6 and then averaging the coverage within 5Kbp bins. We ran multiple sequence alignment of reads supporting the LPIN1-MIR3681HG fused transcript and the readthrough event between breakpoints 11,785,247 (3’) and 12,622,735 (5’) on chr2 using Clustal Omega 68 (v1.2.4). CTCF ChIP-seq data processing and TAD boundary calling We downloaded the CTCF ChIP-seq data of CHP-212 from Helmsauer et al. 12 . We first trimmed adapters (Trimmomatic 69 v0.39) and aligned the reads to hg38 (Bowtie 70 v2.5.4) with default parameters. We then counted read coverage using deepTools 67 (v3.5.6) by counting reads in non-overlapping 50-bp bins. For CTCF peak calling, the coverages were aggregated to identify 5-Kbp bins, with average coverage >= 30 called as CTCF peaks. For comparative TAD analysis between ec3D reconstructions and Hi-C, we generated a distance matrix by calculating d ij α for all pairs i, j ∈ {1, 2, ⋯, 338}, where d ij is the Euclidean distance between bin i and bin j and α is the exponent output by ec3D. TAD boundaries were called with FAN-C 71 v0.9.28 using insulation scores at 10 Kbp window size, respectively from the Hi-C matrix and distance matrix. Each TAD boundary also corresponded to a 5-Kbp bin on the ecDNA. We considered a TAD boundary to match a CTCF peak if the peak was located within ±5 Kbp of the boundaries. We applied a hypergeometric test to assess the significance of matching between TAD boundaries and CTCF peaks. Let the total number of bins on ecDNA be N ; and the total number of bins corresponding to CTCF peaks be K . The P-value of observing at least k matching peaks from n TAD boundaries is computed as the tail distribution , where . Supplementary Methods Base structures We simulated three circular base structures with k ( k ∈ {1, 2, 3}) topological constrictions. Each base structure can be represented by a parametric function with a variable θ ∈ [0, 2π] and hyperparameter p ∈ [0. 90, 0. 99] that controls the interaction frequency of the constrictions. If p is high, the constrictions contribute stronger interactions, and vice versa. k = 1 x = cos(θ) y = sin(θ) − p sin(θ) 4 if sin(θ) > 0 else sin(θ) + p sin(θ) 4 z = cos(θ) 2 k = 2 x = c os(θ) − p c os(θ) 4 if c os(θ) > 0 else c os(θ) + p c os(θ) 4 y = sin (θ) − p sin(θ) 4 if sin(θ) > 0 else sin(θ) + p sin(θ) 4 z = sin(θ) 2 k = 3 Given a set of coordinate functions, we generated 10,000 3D points with , where i = 0, 1, ..., 9999, and we calculated the arc length between each pair of adjacent points by . Then we got 10,000 data points ( l i , θ i ) and used SciPy to interpolate the function F with respect to and θ i . As a result, we can generate n points that are evenly spaced on the 3D structure by calculating for i = 0, 1, ..., n , where L is the total arc length, i.e., . Local folds Given a pair of adjacent points X i and X i +1 on a base structure, we added local folds between the two points by random walks. We denote the difference between the two points as a vector . If we want to generate a local fold with m bins, where m is an even number, then we have the average distance vector . Given the step length l = L / n , we can generate a step vector by randomly Sampling θ and ϕ from the range [0, 2π]. To guarantee that the local fold starts from X i and ends at X i +1 , we need to generate a complementary step vector . As a result, we can generate a set of m setp vectors , where . To generate a local fold with m points, we can simply add the accumulated sum of step vectors to the starting point X , i.e., . Note that since . In this way, we can generate multiple local folds with m bins, where m ∈ {16, 18, 20, 22}, and the adjacent local folds have the space in terms of the number of bins d , which is either 4 or 22 + 4 · ( k − 1). The smaller value makes adjacent local folds form as a TAD; the greater value makes two local folds far apart. Hi-C simulation Given a 3D structure, we simulated pairwise Hi-C interaction frequencies by randomly sampling integers from the Poisson distribution with mean , where d ij represents the Euclidean distance between bin i and bin j . Furthermore, we simulated duplication by designating n ( n ∈ {1, 2, ..., ceil ( N e /10)}) pairs of local folds as duplicated regions. Then we summed up the Hi-C interactions of all duplicated bins, assigned the results to the copy with the least index, and removed the other copies in the Hi-C matrix. Supplementary Figures Download figure Open in new tab Supplementary Figure 1: Simulating samples with topological constrictions. a , A simulated structure with k=1 topological constriction and its corresponding expanded Hi-C data and reconstructed structure. b , k=2. c , k=3. Download figure Open in new tab Supplementary Figure 2: PCC-metric simulation test and tool comparison results. a , PCC-metric simulation test results in 4 different groups: No duplication - ground-truth versus reconstructed structures without duplication; Duplication - ground-truth versus reconstructed structures with duplication; Same base - random pairs of structures with the same base structure; Different base - random pairs of structures with different base structures. Each group has 450 samples. P-values were calculated using the Wilcoxon rank-sum test for two samples. b , PCC- metric comparisons with other methods that reconstruct DNA structure from Hi-C. P-values were calculated using the Wilcoxon rank-sum test for two samples. Download figure Open in new tab Supplementary Figure 3: Simulation test results grouped by the number of topological constrictions. The RMSD and PCC values are calculated by comparing ground truth and reconstructed structures in simulated data. Download figure Open in new tab Supplementary Figure 4: Results of simulation tests with duplication that have the same or different local substructures. Download figure Open in new tab Supplementary Figure 5: RMSD values of ground truth versus reconstructed structures (RMSD1) and RMSD values of ground truth versus random structures (RMSD2) in simulation tests. A data point at the top left of the dashed line indicates that the reconstructed structure is more similar to the ground truth than a random structure. Download figure Open in new tab Supplementary Figure 6: Estimated values versus ground truth values in simulation tests. Download figure Open in new tab Supplementary Figure 7: Changes of objective values, RMSD, and PPC during Poisson optimization on simulated samples. Download figure Open in new tab Supplementary Figure 8: Final RMSD (and PCC) values versus initial RMSD (and PCC) values in simulation tests. The majority of RMSD and PCC values were improved through optimization, showing smaller RMSD and larger PCC compared with initial values. Download figure Open in new tab Supplementary Figure 9: Running time for reconstructing structures of different sequence lengths. The sequence length is measured as the number of bins, where each bin corresponds to a 5-Kbp region. 150 samples were simulated for each category. Download figure Open in new tab Supplementary Figure 10: Correlation between Hi-C interaction frequencies (x-axis) and spatial (Euclidean) distances (y-axis), from CHP-212 (a), D458 (b), GBM39 (c), GBM39 HSR (d), H2170 (e), IMR-5/75 HSR (f), and RCMB56 (g). The Spearman and Pearson correlation coefficients are computed separately for high interaction frequencies (the largest quantile, marked by ‘x’), and low interaction frequencies (the first 3 quantiles, marked by ‘o’). Color gradient representing the genomic distance was overlaid on each scatter plot point, with warmer colors indicating shorter genomic distances and cooler colors indicating longer distances. Download figure Open in new tab Supplementary Figure 11: Optimal values of ec3D’s objective function (y-axis) for RCMB56 when fixing the scaling parameter and limiting the maximum range of the first axis (x-axis). A box plot describing the 5 final objective values with randomly initialized X was made for each length limit ranging from 0.03125 to 2. The other two axes remain in the default range [-1, 1]. Download figure Open in new tab Supplementary Figure 12: Similarities of ecDNA and HSR structures from isogenic cell lines GBM39 and GBM39HSR. a, b, c , normalized Hi-C interaction frequencies and their correlations. x axis: interaction frequency of GBM39EC; y axis: the corresponding interaction frequency of GBM39HSR. d , Euclidean distances between each pair of 5K bins in ec3D reconstructions. x axis: Euclidean distances on GBM39EC structure; y axis: the corresponding distances on GBM39HSR structure. Bin pairs showed significantly larger or smaller distances between the two structures are marked in green. The black arrow points to the example bin pair in panels e and f. e, f , ec3D reconstructions of GBM39 ecDNA and GBM39 HSR, with an example of notable differences indicated by the green lines. Download figure Open in new tab Supplementary Figure 13: EcDNA and potential HSR models. a , A stacked model of ecDNA with the collapsed matrix. b , A ‘spring-like’ HSR model with the collapsed matrix has a signal very similar to the stacked ecDNA. c , A ‘petal-like’ HSR model with the collapsed matrix also provides end-to-end contacts but has fewer additional interactions. Each color in the structures represents one copy of duplication. Download figure Open in new tab Supplementary Figure 14: Collapsed matrix (a) and expanded matrix (b) of IMR-5/75 (HSR). Both matrices display a two-TAD structure, where the second TAD incorporates a joining of the last and the first segment of the cyclic structure, supporting a tandem duplication model of HSR. Ec3D reconstruction and the expanded matrix clarify the first TAD. Download figure Open in new tab Supplementary Figure 15: Single cell expression level of genes (left) and lncRNAs (right) amplified on CHP-212 ecDNA. Download figure Open in new tab Supplementary Figure 16: Fusion transcript and readthrough event in the CHP-212 ecDNA. a , RNA-seq read coverage per 500 bp on LPIN1 and MIR3681HG . b , LPIN1-MIR3681HG fused transcript with supporting reads. c , Readthrough event with supporting reads. Download figure Open in new tab Supplementary Figure 17: Ec3D reconstruction of D458 (a) better clarifies the (sub)structure of a neo-TAD (b). The neo-TAD involves an inversion of a segment 56.8- 57Mbp from chr14, which brings together a distal enhancer DHS1 and OTX2 , but not MYC as suggested by ec3D. Download figure Open in new tab Supplementary Figure 18: Cumulative distribution of significant interactions (ref-SI, y-axis) as a function of increasing genomic distance (x-axis). Both GBM39 and RCMB56 showed more long range interactions (a, b) than controls GM12878 and IMR90, corresponding to slower increases in the cumulative distributions; and similar trends of significant interactions (c, d) with upscaled and downscaled matrices. Note that in RCMB56, downscaling to 0.5x breaks the Negative Binomial property in most of the genomic distances, and as such we omitted that curve. Download figure Open in new tab Supplementary Figure 19: “Crossing” interactions in 3D structures. a , Cartoon illustration of “crossing” interactions in a 3D structure comprising two topological constrictions (TCs). b , Representative crossing interactions on the D458 ecDNA 3D structure. Download figure Open in new tab Supplementary Figure 20: The clique-like interactions (a) involving chr8 and chr14; and the star-like interactions (b) centered at MYC/PVT1 locus, in D458. Download figure Open in new tab Supplementary Figure 21: Differential interactions in GBM39. There are no obvious differences (c) between circ-SI (a) and spatial-SI (b), except a few loops (i.e., TAD boundaries). Download figure Open in new tab Supplementary Figure 22: Differential interactions in RCMB56. The most remarkable differential interactions (c) that occur in circ-SI (a) but not spatial-SI (b) all involve an active enhancer at SELENOF locus. These interactions suggest potential trans interactions, due to the lack of spatial proximity in our 3D structure reconstruction. Download figure Open in new tab Supplementary Figure 23: Differential interactions in D458, excluding interactions from all duplicated segments. The most remarkable differential interactions (c) that occur in circ-SI (a) but not spatial-SI (b) are between the MYC locus on chr8 and some enhancer region on chr14. These interactions suggest potential trans interactions, due to the lack of spatial proximity in our 3D structure reconstruction. Acknowledgments We thank Dr. Mahidhar Tatineni and Nicole Wolter from SDSC for providing detailed guidance on running ec3D on the SDSC expanse clusters. We thank members from the Bafna, Chang, and Mischel laboratories as well as all members from team eDyNAmiC for helpful discussion and feedback. A.G.H. is supported by the Deutsche Krebshilfe (German Cancer Aid) Mildred Scheel Professorship program – 70114107. Footnotes Added comparison to alternative methods and supporting data of the reconstructed structures. References 1. ↵ Beroukhim , R. et al. The landscape of somatic copy-number alteration across human cancers . Nature 463 , 899 – 905 ( 2010 ). OpenUrl CrossRef PubMed Web of Science 2. ↵ Zack , T. I. et al. Pan-cancer patterns of somatic copy number alteration . Nat. Genet . 45 , 1134 – 1140 ( 2013 ). OpenUrl CrossRef PubMed 3. ↵ Steele , C. D. et al. Signatures of copy number alterations in human cancer . Nature 606 , 984 – 991 ( 2022 ). OpenUrl CrossRef PubMed 4. ↵ Turner , K. M. et al. Extrachromosomal oncogene amplification drives tumour evolution and genetic heterogeneity . Nature 543 , 122 – 125 ( 2017 ). OpenUrl CrossRef PubMed 5. ↵ Wu , S. et al. Circular ecDNA promotes accessible chromatin and high oncogene expression . Nature 575 , 699 – 703 ( 2019 ). OpenUrl CrossRef PubMed 6. ↵ Kim , H. et al. Extrachromosomal DNA is associated with oncogene amplification and poor outcome across multiple cancers . Nat. Genet . 52 , 891 – 897 ( 2020 ). OpenUrl CrossRef PubMed 7. ↵ Luebeck , J. et al. Extrachromosomal DNA in the cancerous transformation of Barrett’s oesophagus . Nature 616 , 798 – 805 ( 2023 ). OpenUrl CrossRef PubMed 8. ↵ Dixon , J. R. et al. Topological domains in mammalian genomes identified by analysis of chromatin interactions . Nature 485 , 376 – 380 ( 2012 ). OpenUrl CrossRef PubMed Web of Science 9. ↵ Nora , E. P. et al. Spatial partitioning of the regulatory landscape of the X-inactivation centre . Nature 485 , 381 – 385 ( 2012 ). OpenUrl CrossRef PubMed Web of Science 10. ↵ Akdemir , K. C. et al. Disruption of chromatin folding domains by somatic genomic rearrangements in human cancer . Nat. Genet . 52 , 294 – 305 ( 2020 ). OpenUrl CrossRef PubMed 11. ↵ Morton , A. R. et al. Functional Enhancers Shape Extrachromosomal Oncogene Amplifications . Cell 179 , 1330 - 1341 .e13 ( 2019 ). OpenUrl CrossRef PubMed 12. ↵ Helmsauer , K. et al. Enhancer hijacking determines extrachromosomal circular MYCN amplicon architecture in neuroblastoma . Nat. Commun . 11 , 5823 ( 2020 ). OpenUrl CrossRef PubMed 13. ↵ Koche , R. P. et al. Extrachromosomal circular DNA drives oncogenic genome remodeling in neuroblastoma . Nat. Genet . 52 , 29 – 34 ( 2020 ). OpenUrl CrossRef PubMed 14. ↵ Hung , K. L. et al. ecDNA hubs drive cooperative intermolecular oncogene expression . Nature 600 , 731 – 736 ( 2021 ). OpenUrl CrossRef PubMed 15. ↵ Bailey , C. et al. Origins and impact of extrachromosomal DNA . Nature 635 , 193 – 200 ( 2024 ). OpenUrl CrossRef PubMed 16. ↵ Zhu , Y. et al. Oncogenic extrachromosomal DNA functions as mobile enhancers to globally amplify chromosomal transcription . Cancer Cell 39 , 694 - 707 .e7 ( 2021 ). OpenUrl CrossRef PubMed 17. ↵ Chapman , O. S. et al. Circular extrachromosomal DNA promotes tumor heterogeneity in high-risk medulloblastoma . Nat. Genet . 55 , 2189 – 2199 ( 2023 ). OpenUrl CrossRef PubMed 18. ↵ Deshpande , V. et al. Exploring the landscape of focal amplifications in cancer using AmpliconArchitect . Nat. Commun . 10 , 392 ( 2019 ). OpenUrl CrossRef PubMed 19. Hung , K. L. et al. Targeted profiling of human extrachromosomal DNA by CRISPR-CATCH . Nat. Genet . 54 , 1746 – 1754 ( 2022 ). OpenUrl CrossRef PubMed 20. ↵ Zhu , K. et al. CoRAL accurately resolves extrachromosomal DNA genome structures with long-read sequencing . Genome Res . 34 , 1344 – 1354 ( 2024 ). OpenUrl Abstract / FREE Full Text 21. ↵ Giurgiu , M. et al. Reconstructing extrachromosomal DNA structural heterogeneity from long-read sequencing data using Decoil . Genome Res . 34 , 1355 – 1364 ( 2024 ). OpenUrl Abstract / FREE Full Text 22. ↵ Lieberman-Aiden , E. et al. Comprehensive Mapping of Long-Range Interactions Reveals Folding Principles of the Human Genome . Science 326 , 289 – 293 ( 2009 ). OpenUrl Abstract / FREE Full Text 23. Jin , F. et al. A high-resolution map of the three-dimensional chromatin interactome in human cells . Nature 503 , 290 – 294 ( 2013 ). OpenUrl CrossRef PubMed Web of Science 24. ↵ Rao , S. S. P. et al. A 3D Map of the Human Genome at Kilobase Resolution Reveals Principles of Chromatin Looping . Cell 159 , 1665 – 1680 ( 2014 ). OpenUrl CrossRef PubMed Web of Science 25. ↵ Ay , F. , Bailey , T. L. & Noble , W. S. Statistical confidence estimation for Hi-C data reveals regulatory chromatin contacts . Genome Res . 24 , 999 – 1011 ( 2014 ). OpenUrl Abstract / FREE Full Text 26. Carty , M. et al. An integrated model for detecting significant chromatin interactions from high-resolution Hi-C data . Nat. Commun . 8 , 15454 ( 2017 ). OpenUrl CrossRef PubMed 27. ↵ Wolff , J. , Backofen , R. & Grüning , B. Loop detection using Hi-C data with HiCExplorer . GigaScience 11 , giac061 ( 2022 ). OpenUrl CrossRef PubMed 28. ↵ Wang , X. et al. Genome-wide detection of enhancer-hijacking events from chromatin interaction data in rearranged genomes . Nat. Methods 18 , 661 – 668 ( 2021 ). OpenUrl CrossRef PubMed 29. ↵ Duan , Z. et al. A three-dimensional model of the yeast genome . Nature 465 , 363 – 367 ( 2010 ). OpenUrl CrossRef PubMed Web of Science 30. ↵ Hu , M. et al. Bayesian Inference of Spatial Organizations of Chromosomes . PLoS Comput. Biol . 9 , e1002893 ( 2013 ). OpenUrl CrossRef PubMed 31. ↵ Lesne , A. , Riposo , J. , Roger , P. , Cournac , A. & Mozziconacci , J. 3D genome reconstruction from chromosomal contacts . Nat. Methods 11 , 1141 – 1143 ( 2014 ). OpenUrl CrossRef PubMed Web of Science 32. ↵ Varoquaux , N. , Ay , F. , Noble , W. S. & Vert , J.-P. A statistical approach for inferring the 3D structure of the genome . Bioinformatics 30 , i26 – i33 ( 2014 ). OpenUrl CrossRef PubMed 33. Szalaj , P. et al. An integrated 3-Dimensional Genome Modeling Engine for data-driven simulation of spatial genome organization . Genome Res . 26 , 1697 – 1709 ( 2016 ). OpenUrl Abstract / FREE Full Text 34. Paulsen , J. et al. Chrom3D: three-dimensional genome modeling from Hi-C and nuclear lamin-genome contacts . Genome Biol . 18 , 21 ( 2017 ). OpenUrl CrossRef PubMed 35. ↵ Rieber , L. & Mahony , S. miniMDS: 3D structural inference from high-resolution Hi-C data . Bioinformatics 33 , i261 – i266 ( 2017 ). OpenUrl CrossRef PubMed 36. ↵ Wang , H. , Yang , J. , Zhang , Y. , Qian , J. & Wang , J. Reconstruct high-resolution 3D genome structures for diverse cell-types using FLAMINGO . Nat. Commun . 13 , 2645 ( 2022 ). OpenUrl CrossRef PubMed 37. ↵ Blondel , V. D. , Guillaume , J.-L. , Lambiotte , R. & Lefebvre , E. Fast unfolding of communities in large networks . J. Stat. Mech. Theory Exp . 2008 , P10008 ( 2008 ). OpenUrl CrossRef 38. ↵ Bailey , C. , Shoura , M. J. , Mischel , P. S. & Swanton , C. Extrachromosomal DNA—relieving heredity constraints, accelerating tumour evolution . Ann. Oncol . 31 , 884 – 893 ( 2020 ). OpenUrl CrossRef PubMed 39. ↵ Stöber , M. C. et al. Intercellular extrachromosomal DNA copy-number heterogeneity drives neuroblastoma cell state diversity . Cell Rep . 43 , 114711 ( 2024 ). OpenUrl CrossRef PubMed 40. ↵ Wortham , M. et al. Chromatin Accessibility Mapping Identifies Mediators of Basal Transcription and Retinoid-Induced Repression of OTX2 in Medulloblastoma . PLoS ONE 9 , e107156 ( 2014 ). OpenUrl CrossRef PubMed 41. ↵ L′Abbate , A. et al. MYC-containing amplicons in acute myeloid leukemia: genomic structures, evolution, and transcriptional consequences . Leukemia 32 , 2152 – 2166 ( 2018 ). OpenUrl CrossRef PubMed 42. ↵ Tolomeo , D. , Agostini , A. , Visci , G. , Traversa , D. & Storlazzi , C. T. PVT1: A long non-coding RNA recurrently involved in neoplasia-associated fusion transcripts . Gene 779 , 145497 ( 2021 ). OpenUrl CrossRef PubMed 43. ↵ Hung , K. L. et al. Coordinated inheritance of extrachromosomal DNAs in cancer cells . Nature 635 , 201 – 209 ( 2024 ). OpenUrl CrossRef PubMed 44. ↵ The ENCODE Project Consortium . An integrated encyclopedia of DNA elements in the human genome . Nature 489 , 57 – 74 ( 2012 ). OpenUrl CrossRef PubMed Web of Science 45. ↵ Ben-Elazar , S. , Yakhini , Z. & Yanai , I. Spatial localization of co-regulated genes exceeds genomic gene clustering in the Saccharomyces cerevisiae genome . Nucleic Acids Res . 41 , 2191 – 2201 ( 2013 ). OpenUrl CrossRef PubMed Web of Science 46. ↵ Zhang , Y. , Liu , W. , Lin , Y. , Ng , Y. K. & Li , S. Large-scale 3D chromatin reconstruction from chromosomal contacts . BMC Genomics 20 , 186 ( 2019 ). OpenUrl CrossRef PubMed 47. ↵ Su , J.-H. , Zheng , P. , Kinrot , S. S. , Bintu , B. & Zhuang , X. Genome-Scale Imaging of the 3D Organization and Transcriptional Activity of Chromatin . Cell 182 , 1641 - 1659 .e26 ( 2020 ). OpenUrl CrossRef PubMed 48. ↵ Jia , B. B. , Jussila , A. , Kern , C. , Zhu , Q. & Ren , B. A spatial genome aligner for resolving chromatin architectures from multiplexed DNA FISH . Nat. Biotechnol . 41 , 1004 – 1017 ( 2023 ). OpenUrl CrossRef PubMed 49. ↵ Mateo , L. J. et al. Visualizing DNA folding and RNA in embryos at single-cell resolution . Nature 568 , 49 – 54 ( 2019 ). OpenUrl CrossRef PubMed 50. ↵ Zhang , R. , Zhou , T. & Ma , J. Multiscale and integrative single-cell Hi-C analysis with Higashi . Nat. Biotechnol . 40 , 254 – 261 ( 2022 ). OpenUrl CrossRef PubMed 51. ↵ Chang , L. et al. Droplet Hi-C enables scalable, single-cell profiling of chromatin architecture in heterogeneous tissues . Nat. Biotechnol . ( 2024 ) doi: 10.1038/s41587-024-02447-1 . OpenUrl CrossRef 52. ↵ Imakaev , M. et al. Iterative correction of Hi-C data reveals hallmarks of chromosome organization . Nat. Methods 9 , 999 – 1003 ( 2012 ). OpenUrl CrossRef PubMed Web of Science 53. ↵ Servant , N. et al. HiC-Pro: an optimized and flexible pipeline for Hi-C data processing . Genome Biol . 16 , 259 ( 2015 ). OpenUrl CrossRef PubMed 54. ↵ Liu , D. C. & Nocedal , J. On the limited memory BFGS method for large scale optimization . Math. Program . 45 , 503 – 528 ( 1989 ). OpenUrl CrossRef 55. ↵ Burton , J. N. et al. Chromosome-scale scaffolding of de novo genome assemblies based on chromatin interactions . Nat. Biotechnol . 31 , 1119 – 1125 ( 2013 ). OpenUrl CrossRef PubMed 56. Wang , S. et al. HiNT: a computational method for detecting copy number variations and translocations from Hi-C data . Genome Biol . 21 , 73 ( 2020 ). OpenUrl CrossRef PubMed 57. ↵ Dubois , F. , Sidiropoulos , N. , Weischenfeldt , J. & Beroukhim , R. Structural variations in cancer and the 3D genome . Nat. Rev. Cancer 22 , 533 – 546 ( 2022 ). OpenUrl CrossRef PubMed 58. ↵ Tukey , J. W. Exploratory Data Analysis . ( Addison-Wesley Pub. Co, Reading, Mass , 1977 ). 59. ↵ Kabsch , W. A solution for the best rotation to relate two sets of vectors . Acta Crystallogr. Sect. A 32 , 922 – 923 ( 1976 ). OpenUrl CrossRef 60. ↵ O’Rourke , J. Finding minimal enclosing boxes . Int. J. Comput. Inf. Sci . 14 , 183 – 199 ( 1985 ). OpenUrl CrossRef 61. ↵ Dimitrov , D. , Knauer , C. , Kriegel , K. & Rote , G. Bounds on the quality of the PCA bounding boxes . Comput. Geom . 42 , 772 – 789 ( 2009 ). OpenUrl CrossRef PubMed 62. ↵ Abdennur , N. & Mirny , L. A. Cooler: scalable storage for Hi-C data and other genomically labeled arrays . Bioinformatics 36 , 311 – 316 ( 2020 ). OpenUrl CrossRef PubMed 63. ↵ Durand , N. C. et al. Juicebox Provides a Visualization System for Hi-C Contact Maps with Unlimited Zoom . Cell Syst . 3 , 99 – 101 ( 2016 ). OpenUrl CrossRef PubMed 64. ↵ Luebeck , J. et al. AmpliconReconstructor integrates NGS and optical mapping to resolve the complex structures of focal amplifications . Nat. Commun . 11 , 4374 ( 2020 ). OpenUrl CrossRef PubMed 65. ↵ Boeva , V. et al. Heterogeneity of neuroblastoma cell identity defined by transcriptional circuitries . Nat. Genet . 49 , 1408 – 1413 ( 2017 ). OpenUrl CrossRef PubMed 66. ↵ Haas , B. J. et al. Accuracy assessment of fusion transcript detection via read-mapping and de novo fusion transcript assembly-based methods . Genome Biol . 20 , 213 ( 2019 ). OpenUrl CrossRef PubMed 67. ↵ Ramírez , F. , Dündar , F. , Diehl , S. , Grüning , B. A. & Manke , T. deepTools: a flexible platform for exploring deep-sequencing data . Nucleic Acids Res . 42 , W187 – W191 ( 2014 ). OpenUrl CrossRef PubMed Web of Science 68. ↵ Madeira , F. et al. The EMBL-EBI Job Dispatcher sequence analysis tools framework in 2024 . Nucleic Acids Res . 52 , W521 – W525 ( 2024 ). OpenUrl CrossRef PubMed 69. ↵ Bolger , A. M. , Lohse , M. & Usadel , B. Trimmomatic: a flexible trimmer for Illumina sequence data . Bioinformatics 30 , 2114 – 2120 ( 2014 ). OpenUrl CrossRef PubMed Web of Science 70. ↵ Langmead , B. & Salzberg , S. L. Fast gapped-read alignment with Bowtie 2 . Nat. Methods 9 , 357 – 359 ( 2012 ). OpenUrl CrossRef PubMed Web of Science 71. ↵ Kruse , K. , Hug , C. B. & Vaquerizas , J. M. FAN-C: a feature-rich framework for the analysis and visualisation of chromosome conformation capture data . Genome Biol . 21 , 303 ( 2020 ). OpenUrl CrossRef PubMed View the discussion thread. Back to top Previous Next Posted May 19, 2025. Download PDF Email Thank you for your interest in spreading the word about bioRxiv. NOTE: Your email address is requested solely to identify you as the sender of this article. Your Email * Your Name * Send To * Enter multiple addresses on separate lines or separate them with commas. You are going to email the following Reconstructing the three-dimensional architecture of extrachromosomal DNA with ec3D Message Subject (Your Name) has forwarded a page to you from bioRxiv Message Body (Your Name) thought you would like to see this page from the bioRxiv website. Your Personal Message CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Share Reconstructing the three-dimensional architecture of extrachromosomal DNA with ec3D Biswanath Chowdhury , Kaiyuan Zhu , Chaohui Li , Jens Luebeck , Owen S. Chapman , Katerina Kraft , Shu Zhang , Lukas Chavez , Anton G. Henssen , Paul S. Mischel , Howard Y. Chang , Vineet Bafna bioRxiv 2025.02.01.636064; doi: https://doi.org/10.1101/2025.02.01.636064 Share This Article: Copy Citation Tools Reconstructing the three-dimensional architecture of extrachromosomal DNA with ec3D Biswanath Chowdhury , Kaiyuan Zhu , Chaohui Li , Jens Luebeck , Owen S. Chapman , Katerina Kraft , Shu Zhang , Lukas Chavez , Anton G. Henssen , Paul S. Mischel , Howard Y. Chang , Vineet Bafna bioRxiv 2025.02.01.636064; doi: https://doi.org/10.1101/2025.02.01.636064 Citation Manager Formats BibTeX Bookends EasyBib EndNote (tagged) EndNote 8 (xml) Medlars Mendeley Papers RefWorks Tagged Ref Manager RIS Zotero Tweet Widget Facebook Like Google Plus One Subject Area Cancer Biology Subject Areas All Articles Animal Behavior and Cognition (7622) Biochemistry (17648) Bioengineering (13871) Bioinformatics (41880) Biophysics (21423) Cancer Biology (18558) Cell Biology (25460) Clinical Trials (138) Developmental Biology (13364) Ecology (19866) Epidemiology (2067) Evolutionary Biology (24290) Genetics (15589) Genomics (22475) Immunology (17711) Microbiology (40327) Molecular Biology (17145) Neuroscience (88473) Paleontology (666) Pathology (2827) Pharmacology and Toxicology (4816) Physiology (7635) Plant Biology (15114) Scientific Communication and Education (2044) Synthetic Biology (4286) Systems Biology (9815) Zoology (2268)

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2025) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00