Package Bio :: Package PopGen :: Package GenePop :: Module FileParser
[hide private]
[frames] | no frames]

Module FileParser

source code


This class provides code to parse BIG GenePop files.

The difference between this class and the standard Bio.PopGen.GenePop.Record
class is that this one does not read the whole file to memory.
It provides an iterator interface, slower but consuming much mess memory.
Should be used with big files (Thousands of markers and individuals).

See http://wbiomed.curtin.edu.au/genepop/ , the format is documented
here: http://wbiomed.curtin.edu.au/genepop/help_input.html .

Classes:
FileRecord           Holds GenePop data.

Functions:

Classes [hide private]
  FileRecord
Holds information from a GenePop record.
Functions [hide private]
 
read(fname)
Parses a file containing a GenePop file.
source code
Variables [hide private]
  __package__ = 'Bio.PopGen.GenePop'
Function Details [hide private]

read(fname)

source code 
Parses a file containing a GenePop file.

fname is a file name that contains a GenePop record.