dgenies icon indicating copy to clipboard operation
dgenies copied to clipboard

Consider exposing "max_nb_lines"

Open tanghaibao opened this issue 4 years ago • 2 comments

Dear,

Thank you for the excellent plotting software.

The setting max_nb_lines controls how many highest scoring alignments to include in the dot plot, and is fixed in the source code to be 100000. For fragmented assemblies with numerous contigs, this value is grossly insufficient.

I would love to see this parameter exposed, either:

  • In the webform as an input box
  • In the configuration file application.propertites

When I experimented with this parameter for this use case, I noticed that there are additional performance improvements necessary for the use case when lots of contigs are involved: https://github.com/genotoul-bioinfo/dgenies/pull/15

Haibao

tanghaibao avatar Sep 03 '20 07:09 tanghaibao

Exposed in config file in 1.3

pbordron avatar Mar 01 '22 14:03 pbordron

There is two way to working on a webform input box .

  1. Easy to do: send all data (with a max defined on the server side) and only display first ones.
  2. A bit more complicated: send first ones and have an additional route to ask more lines.

Solution [1] will consume more network resources (and user memory) than solution [2].

pbordron avatar Oct 23 '23 14:10 pbordron