[BioPython] [PopGen] a random Haplotype Sets generator

Giovanni Marco Dall'Olio dalloliogm at gmail.com
Thu Nov 13 09:27:50 EST 2008


On Thu, Nov 13, 2008 at 3:19 PM, Peter <biopython at maubp.freeserve.co.uk> wrote:
> On Thu, Nov 13, 2008 at 2:04 PM, Tiago Antão <tiagoantao at gmail.com> wrote:
>>> Maybe we could create a module called 'Generators' where to put all
>>> similar Generators.
>>
>> I'm ok with that. Do you envision more generators in the future?
>> Actually simcoal could also be used to generate these things (as long
>> as I remember to do an arlequin parser to get the results out).
>> In the short run it would be nice to extend the tutorial also and put
>> a few tests.
>
> You're talking about a module to create biological data (e.g.
> haplotypes), right?  I'm don't think using the word "generators" is a
> good idea.  Python itself uses this terminology in the context of
> iteration (see generator functions, generator expressions, etc).  That
> code did not look like a python generator to me.

This is right: which word can I use, then?
HaplotypesSampler? RandomHaplotypesSpawner?
HaplotypesCreator?

Anyway, I will change the module's interface sooner, it will accept
different parameters.
I need it will need still some amount of work..


> Peter
>



-- 
-----------------------------------------------------------

My Blog on Bioinformatics (italian): http://bioinfoblog.it



More information about the BioPython mailing list