jonathancrabtree / Circleator

Flexible circular visualization of genome-associated data with BioPerl and SVG.
Other
46 stars 8 forks source link

feat-track reference to track with user feat definition creates duplicate feature #34

Closed jonathancrabtree closed 6 years ago

jonathancrabtree commented 6 years ago

Every time a track with a user-defined feature (e.g., user-feat-fmin, user-feat-fmax) is referenced by feat-track, a new user-defined feature of that type will be created. To wit:

new f5 rectangle heightf=0.04,user-feat-fmin=400000,user-feat-fmax=600000,user-feat-type=userfeat2,color1=blue
new l5 label heightf=0.03,text=label5,feat-track=f5,label-function=literal_text,font-height-frac=1.2

A subsequent attempt to retrieve features of type userfeat2 will find 2 features, not 1.