Re: [Biojava-l] adding toSequenceIterator method for Alignment

2002-07-31 Thread Keith James
> "Kalle" == =?UTF-8?B?S2FsbGUgTsOkc2x1bmQ=?= writes: [...] Kalle> The second part is the thing i dont like. To me, the core Kalle> properties that defines what an Alignment is, doesnt Kalle> contain the functionality of being able to make Kalle> SimpleSequences out of Symb

Re: [Biojava-l] adding toSequenceIterator method for Alignment

2002-07-30 Thread Kalle Näslund
Singh, Nimesh wrote: >Given any implementation of an alignment, there is no guarantee that the alignment >will have links to the original underlying sequences. > I know this might be a bit finicky, and that you are most likely already aware of this. But, An alignment doesnt necesarily hold Seq

RE: [Biojava-l] adding toSequenceIterator method for Alignment

2002-07-29 Thread Singh, Nimesh
- From: Kalle Näslund [mailto:[EMAIL PROTECTED]] Sent: Fri 7/26/2002 11:52 AM To: Singh, Nimesh Cc: [EMAIL PROTECTED] Subject: Re: [Biojava-l] adding toSequenceIterator method for Alignment Singh, Nimesh wrote:

Re: [Biojava-l] adding toSequenceIterator method for Alignment

2002-07-26 Thread Kalle Näslund
Singh, Nimesh wrote: > I've created a class called AlignmentSequenceIterator that I intend to put in >the org.biojava.bio.seq package. It will do the real work. I've also added >public SequenceIterator sequenceIterator() { >return new AlignmentSequenceIterator(this); >

Re: [Biojava-l] adding toSequenceIterator method for Alignment

2002-07-18 Thread Matthew Pocock
Cool. Looks good. Commit away. Could you add some javadocs (class & constructor)? Matthew Singh, Nimesh wrote: > I've created a class called AlignmentSequenceIterator that I intend to put in >the org.biojava.bio.seq package. It will do the real work. I've also added > public Seq

RE: [Biojava-l] adding toSequenceIterator method for Alignment

2002-07-18 Thread Singh, Nimesh
I've created a class called AlignmentSequenceIterator that I intend to put in the org.biojava.bio.seq package. It will do the real work. I've also added public SequenceIterator sequenceIterator() { return new AlignmentSequenceIterator(this); } to each alignment

RE: [Biojava-l] adding toSequenceIterator method for Alignment

2002-07-17 Thread Schreiber, Mark
> You can find all classes implementing Alignment by greping the source > tree for "implements Alignment" - I can only find > org.biojava.bio.symbol.SimpleAlignment, but I may have missed > something. > > Matthew There are some classes in org.biojava.bio.alignment that do as well. - Mark ===

RE: [Biojava-l] adding toSequenceIterator method for Alignment

2002-07-17 Thread Singh, Nimesh
>Would this method return an iterator over each sequence in the >alignment? Sounds usefull to me. I have always taken an iterator over >the labels and fetched each sequence from the alignment by each of these >labels. Yeah, it's meant to simplify that process. It would return an instance of a b

[Biojava-l] adding toSequenceIterator method for Alignment

2002-07-17 Thread Singh, Nimesh
Hello, What do you think about adding a toSequenceIterator() method to the Alignment interface? I think it would involve creating a new SequenceIterator implementation and updating everything that implements Alignment. I would take care of that, if you guys could tell me every new class tha