genotoul-bioinfo / dgenies

Dotplot large Genomes in an Interactive, Efficient and Simple way
http://dgenies.toulouse.inrae.fr
GNU General Public License v3.0
96 stars 12 forks source link

Track density must be taken in account when displayed #94

Open pbordron opened 10 months ago

pbordron commented 10 months ago

track_missing

Data are from ensembl:

Wiggle files were computed this way with sequenza-utils 3.0 with window of 1000:


zcat Arabidopsis_lyrata.v.1.0.dna.toplevel.fa.gz | sequenza-utils gc_wiggle -w 1000 -o Arabidopsis_lyrata.v.1.0.dna.toplevel.fa.gc.wig -f -
zcat Arabidopsis_thaliana.TAIR10.dna.toplevel.fa.gz | sequenza-utils gc_wiggle -w 1000 -o Arabidopsis_thaliana.TAIR10.dna.toplevel.fa.gc.wig -f -

Tooltips display correctly work, right track display correctly.

pbordron commented 10 months ago

When zooming, the track is here, but faint. It seems a color scale issue

tracks

pbordron commented 10 months ago

Top track is twice longer than right track. High track density is the cause of problem.

We need to bin each track into fragments, and take the average value of the bin. When zooming, the binning must be recomputed.

For bed5, we need to think about which tooltip content is displayed when hovering (there is no tooltips for wiggle)