Hello, Benoit.
Thank you for your question about displaying your data in the UCSC Genome Browser.
Using BED12 format, you should be able to accomplish something similar to what you propose in your Figure A. The BED12 format allows you to define blocks (i.e. exons) and you can combine this with the thickStart/thickEnd to achieve a similar result. In essence, you just need to determine where you want each of the blocks (both outer blocks and the inner block) to start and how large you would like each block to be.
I know that you developed the "ReMap" hubs, including the 2020 version with filtering options. So, here's an example using an item from your track:
track name=original
chrX 15571043 15571512 ENCSR197ALX.HDGF.K-562 0 . 15571367 15571368 112,84,224
track name=bed12_exons
chrX 15571043 15571512 ENCSR197ALX.HDGF.K-562 0 . 15571367 15571368 112,84,224 3 5,200,5 0,205,464
You can visualize this in the Genome Browser with this link:
http://genome.ucsc.edu/s/brianlee/hg38_customTrack. The 10th column determines the number of blocks, the 11th column the sizes of those blocks, and the 12th column the start point for those blocks relative to the size of the overall element. We did drop the TF and Biotypes columns from our example for ease of copy/paste loading, but you should be able to easily add those back in if you are generating a bigBed track.
UCSC Cell Browser, Quality Assurance and Data Wrangler
Human Cell Atlas, User Experience Researcher
UCSC Genome Browser, User Support
UC Santa Cruz Genomics Institute
Revealing life’s code.