[Biopython] Biopython genepop help

Tiago Antao tra at popgen.net
Sun Mar 29 18:24:55 UTC 2015


Hi Goutham,

Roughly, what is the size of your genepop files? I ask this because
there are two record holders: one in-memory for small files (legacy
stuff) and one with iterators. The in-memory one is slightly easier to
use.
With that info it is easier to answer


On Sun, 29 Mar 2015 23:39:57 +0530
Goutham atla <goutham.atla at gmail.com> wrote:

> Dear All,
> 
> I am trying to use genePop
> <https://github.com/biopython/biopython/blob/master/Bio/PopGen/GenePop/__init__.py>
> module of Biopython. I am trying to create a Record object.
> 
> I am little bit confused as I did not find any examples on how to use
> Record class.
> 
> If I have a file named "test.genepop", how should I create a Record
> object out of that file ?
> 
> My ultimate goal is to replace 0000 0000 000 notation to some thing
> like 9 9 9 to indicate missing data. Is there any simpler way of
> doing it ?
> 
> 
> Regards,



More information about the Biopython mailing list