waveygang / wfmash

base-accurate DNA sequence alignments using WFA and mashmap2
MIT License
172 stars 15 forks source link

fix unset variable #209

Closed AndreaGuarracino closed 8 months ago

AndreaGuarracino commented 8 months ago

This avoids instability for the id:f field:

(base) ➜ head 1.paf -n 1
S288C#1#chrI    219929  0       219929  +       SGDref#1#chrI   230218  0       219484  196     219929  34      id:f:0.999645   kc:f:0.956227
(base) ➜ head 2.paf -n 1
S288C#1#chrI    219929  0       219929  +       SGDref#1#chrI   230218  0       219484  196     219929  34      id:f:0.999645   kc:f:0.956227
(base) ➜ head 3.paf -n 1
S288C#1#chrI    219929  0       219929  +       SGDref#1#chrI   230218  0       219484  196     219929  34      id:f:99.9645    kc:f:0.956227