dasmoth / dalliance

Interactive web-based genome browser.
http://www.biodalliance.org/
BSD 2-Clause "Simplified" License
226 stars 68 forks source link

Retaining feature popup fields for MappedFeatureSource #92

Closed ymen closed 10 years ago

ymen commented 10 years ago

@dasmoth cc @mdrasmus

When feature tracks are lifted-over using a mapping chain, some fields in the feature pop-up which are populated by default (for example, in vcfParser for a VCF file) are lost.

This PR propagates the getDefatulFIPs function of underlying feature source of MappedFeatureSource to ensure that such feature pop-up information are retained.

This seems to be the desired behavior from my use cases, and thought others might find it useful. :)