[Biopython-dev] Relaxing SeqIO, AlignIO, etc write functions?
Marshall Hampton
mhampton at d.umn.edu
Tue Mar 16 16:01:41 UTC 2010
I'm strongly in favor of such relaxations. It would also be convenient if
SeqRecords had a write function.
-Marshall Hampton
>So, should we continue to insist on:
>
>record = SeqRecord(...)
>SeqIO.write([record], filename, format)
>or should be relax a little more and allow this too?:
>record = SeqRecord(...)
>SeqIO.write(record, filename, format)
>For SeqIO and AlignIO we can do a simple isinstance check
>for a SeqRecord or alignment object - there isn't really a
>problem with ambiguity here. Probably also try for Phylo?
>What's the general consensus on the dev list?
More information about the Biopython-dev
mailing list