[Biopython-dev] New Bio.SeqIO code

Michiel de Hoon mdehoon at c2b2.columbia.edu
Fri Nov 3 02:20:23 UTC 2006


Peter wrote:
> Right now I am making both "file to dict" and "iterator to dict"
> functions available:
> 
> File2SequenceDict(..., record2key) is implemented as
> SequenceIter2Dict(File2SequenceIterator(...), record2key)
> 
> Also:
> File2Alignment(...) is implemented as
> Iter2Alignment(File2SequenceIterator(...))
> 
> And:
> File2SequenceList(...) is implemented as list(File2SequenceIterator(...))
> 
> Leaving aside the names (which I notice are not currently consistent) I
> would be fine with removing File2SequenceList, File2SequenceDict, and
> File2Alignment but retaining the two functions which convert from a
> SeqRecord returning iterator into dict or an alignment.
> 
> How does that sound Michiel (subject to agreeing on names)?
That sounds good to me.

--Michiel.



More information about the Biopython-dev mailing list