[Biojava-l] Re: [Bioperl-l] RE: [Open-bio-l] seq namespace method
Brian Gilman
gilmanb@genome.wi.mit.edu
Tue, 23 Jul 2002 16:25:41 -0400 (EDT)
Hello Guys,
I'd like to work with Michael to see where we differ in out LSID
implementations and where we agree. Then we can both submit an
implementation to biojava.
I'd like to note that this is still a work in progress!! We are in
the midst of gathering feedback on the spec and will produce another draft
after our next I3C meeting which is next week.
Michael, we should get together and discuss this over a
beer...You're only down the road!
Best,
-B
-----------------------
Brian Gilman <gilmanb@genome.wi.mit.edu>
Group Leader Medical & Population Genetics Dept.
MIT/Whitehead Inst. Center for Genome Research
One Kendall Square, Bldg. 300 / Cambridge, MA 02139-1561 USA
phone +1 617 252 1069 / fax +1 617 252 1902
On Mon, 22 Jul 2002, Michael L. Heuer wrote:
>
> Hello Matthew,
>
> It's probably best to wait a bit before importing this into biojava
> proper. Things are still a little bit up in the air here on the list(s),
> and I believe there is a LSID implementation in the omnigene codebase
> that we should take a look at before committing to any one design.
>
> I like the idea of removing the accessors from the Identifiable interface,
> but would advocate leaving them in the abstract and support implementations.
>
> michael
>
>
> On Fri, 19 Jul 2002, Matthew Pocock wrote:
>
> > Great Michael,
> >
> > LifeScienceIdentifier looks good. I'd prefer Identifiable to drop all
> > methods except getPreferredIdentifier() and getIdentifiers(). I think
> > the other methods duplicate already available information (e.g.
> > getAuthority etc can be found by calling
> > getPreferredIdentifier().getAuthority() ). Putting functionality/api in
> > exactly one place is generaly a good idea. What are your thoughts?
> >
> > What package would you like to put these classes/interfaces into? An
> > existing package, or org.biojava.bio.lsid or org.biojava.bio.program.lsid?
> >
> > Matthew
> >
> > Michael L. Heuer wrote:
> > > Having spent too much time in meetings lately, I felt the need to
> > > actually code something, and whipped up a java implementation of LSIDs
> > > based on the discussion here. Being that this has been a moving target, I
> > > may not have nailed it exactly right -- I went with containment and the
> > > idea of a "preferred identifier", eg.
> > >
> > > interface LifeScienceIdentifier extends Immutable {
> > > public String getAuthority();
> > > public String getNamespace();
> > > public Object getObjectId();
> > > public Object getVersion();
> > >
> > > public String asIdentifier(); // authority:namespace:object_id
> > > public String asCommonName(); // namespace:object_id.version
> > > }
> > >
> > > interface Identifiable {
> > > // delegate to preferred
> > > public String getAuthority();
> > > public String getNamespace();
> > > public Object getObjectId();
> > > public Object getVersion();
> > >
> > > public LifeScienceIdentifier getPreferredIdentifier();
> > > public boolean hasMultipleIdentifiers();
> > > public List getIdentifiers();
> > > }
> > >
> > > A tarball with implementations, factories, junit tests, etc. is available
> > >
> > >
> > >>http://shore.net/~heuermh/lsid-PROPOSAL.tar.gz
> > >
> > >
> > > michael
> > >
> > >
> >
> > _______________________________________________
> > Open-Bio-l mailing list
> > Open-Bio-l@open-bio.org
> > http://open-bio.org/mailman/listinfo/open-bio-l
> >
>
> _______________________________________________
> Biojava-l mailing list - Biojava-l@biojava.org
> http://biojava.org/mailman/listinfo/biojava-l
>