swarm-modeling
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swarm-Modelling] population genetics


From: Scott Christley
Subject: Re: [Swarm-Modelling] population genetics
Date: Tue, 31 Oct 2006 12:58:23 -0500

Hi Paul,

I don't have an example that I can give you, but here is the general idea:

* Read data from a file into memory variables. The difficulty here is often what format is the data file; is it a standard format like XML or HDF where you can use an existing library to read the data, or is it a specialized format. If it is a specialized format, you might need to use the low-level C library functions like fread or fscanf to read the data directly from the file.

* Copy the data from the memory variables into instance variables for your agents, say by calling a method you define for your agent and pass the data as a parameter.

If you have specific problem I can give you more detail, but because data files come in an endless number of different formats, it is generally not possible to have one standard routine for reading all possible data files.

cheers
Scott

On Oct 29, 2006, at 3:29 PM, Paul Johnson wrote:

I'd just like to know / see examples of models that read in detailed data to initialize a simulation. Anybody got one besides the Anasazi Village model??

pj

Scott Christley wrote:
Greetings,

Is anybody aware of research with an agent-based model (or other modeling approaches) that simulates evolution (recombination/ mutation) on actual genomic data? I'm aware that genetic algorithms often use an artificial genome with attributes encoded in artificial genes, but I am looking for anybody who is using actual nucleotide sequence. For example, a population genetics study may have sequenced a number of alleles for an organism, then use those alleles (and possible allele frequencies) to simulate and predict how environmental changes could affect the population diversity. I am able to find empirical studies which record allozyme diversity across species, spatially, etc. but I have not found anybody doing simulations with the actual genomic data.

thanks
Scott

_______________________________________________
Modelling mailing list
address@hidden
http://www.swarm.org/mailman/listinfo/modelling



--
Paul E. Johnson                       email: address@hidden
Professor, Political Science          http://pj.freefaculty.org
1541 Lilac Lane, Rm 504 University of Kansas Office: (785) 864-9086
Lawrence, Kansas 66044-3177           FAX: (785) 864-5700

_______________________________________________
Modelling mailing list
address@hidden
http://www.swarm.org/mailman/listinfo/modelling



reply via email to

[Prev in Thread] Current Thread [Next in Thread]