[Biojava-l] Rename RichSequence

George Waldon gwaldon at geneinfinity.org
Mon Nov 14 23:20:02 UTC 2011


Quoting Khalil El Mazouari <khalil.elmazouari at gmail.com>:

> Hi,
>
> how to rename a RichSequence?
>
> Thanks
>
> _______________________________________________
> Biojava-l mailing list  -  Biojava-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/biojava-l
>

Hi,

You cannot rename SimpleRichSequence by design. A simple way is to  
wrap the sequence in your own implementation of RichSequence and  
delegate to it.

Regards,
George




More information about the Biojava-l mailing list