tpoorten / dotPlotly

Generate an interactive dot plot from mummer or minimap alignments
MIT License
190 stars 53 forks source link

Average identity #10

Open annecmg opened 3 years ago

annecmg commented 3 years ago

Hi, it seems that the mean percent identity per query is taken independent of the length of the hits. For example the following contig from the coordinate file is displayed with an identity of ~93% and not ~99.9% as I expected. Is this behaviour intended? Could the identities be weighted by lengths of the hits instead? Thanks a lot! Anne

  462065   462880  |   199278   200088  |      816      811  |    86.08  |     0.02     0.41  | NC_003901.1     NODE_6_length_200088_cov_50.435813
  740787   940809  |        1   200000  |   200023   200000  |    99.96  |     4.88    99.96  | NC_003901.1     NODE_6_length_200088_cov_50.435813
 3210299  3210705  |   116268   115860  |      407      409  |    91.93  |     0.01     0.20  | NC_003901.1     NODE_6_length_200088_cov_50.435813