deeptools / pyGenomeTracks

python module to plot beautiful and highly customizable genome browser tracks
GNU General Public License v3.0
764 stars 111 forks source link

region per track instead of global definition #234

Open joachimwolff opened 4 years ago

joachimwolff commented 4 years ago

Hi,

an option to use one region per track. Instead of --region chr1:1-5 this could be placed a) as region=chr1:1-5 as a part of the track definition or b) that --region file_regions.txt which is matching the number of tracks. I think option number a) makes it easier because we don't need to deal with the handling of which track matches which line; assuming we have overlaying tracks which makes the usage of the order and a 1 to 1 relationship not possible.

This option would required to plot many regions of interest together for example TSS of different genes.

Best,

Joachim

lldelisle commented 4 years ago

Hi, I think this would fit with a request I had from someone in the lab asking if all the parameters passed to the parser of pgt could be in the config file. Also if we go for [default] and [default_bigwig]... sections like in #219 I think this could be very cool and not so difficult to do.