[Biopython-dev] Bio.SeqIO.index extension, Bio.SeqIO.index_many

Peter biopython at maubp.freeserve.co.uk
Wed Dec 8 13:00:21 UTC 2010


On Wed, Dec 8, 2010 at 12:41 PM, Brad Chapman <chapmanb at 50mail.com> wrote:
>
> Peter and Eric;
>
> [naming for on-disk indexing function]
>
>> > > My only suggestion would be the naming: index_file makes it a little
>> > > clearer about the intentions, instead of index_many
>
>> > What do you think of index_files (plural) rather than index_file?
>
>> How about index_db or index_sqlite? The fact that it uses a SQLite database
>> for storage seems significant enough to be noted in the name.
>
> +1 for index_db. That's clearer than index_file(s), which sort of
> just implies you are indexing something but not that it is
> non-memory. It also allows you to have multiple backends in addition
> to SQLite. Nice.
>
> Brad

OK, index_db works for me. Good suggestion Eric :)

Peter



More information about the Biopython-dev mailing list