Skip to content
Prev 3222 / 21307 Next

[Bioc-devel] mapping between original and reduced ranges

Hi Herve, the two are related but not similar issues:
On 3/16/12 6:07 AM, "Herv? Pag?s" <hpages at fhcrc.org> wrote:

            
This sounds perfect to me and absolutely handles the mapping problem
The reason I was asking this is that with the mapping I would actually
split the old elementMetadata and do some processing on it. So in addition
to being able to add the mapping I thought it would be kind of useful to
retain the original metadata in a "folded" structure similar to the
IntegerList approach Michael is proposing. Essentially one would collapse
each of the existing elementMetadata columns in a list representation. At
first I found it a bit surprising that all my elementMetadata was gone
after reduce, but after some thinking it actually makes sense, since the
original ranges are gone, too, and having a reduced/folded elementMetadata
slot in the default output would be very confusing. I was just thinking to
have this as an option, mainly because I can see this as a general use
case, and It would make subsequent operations a little more coherent
compared to having a folded elementMetadata representation and the reduced
ranges in two separate objects.