Fwd: SNPs input file for Nemo

15 views
Skip to first unread message

Frederic Guillaume

unread,
Feb 4, 2021, 10:16:04 AM2/4/21
to nemo-...@googlegroups.com
Hi Frederic,


My name is Iván Vera and I am a postdoc at Universidad Católica de la
Santísima Concepcón in Chile. I have worked with Nemo before and have
published a few articles simulating different scenarios in frehwater
fihes using microsatellite markers. Right now I am working with SNPs
from crabs and some algae and I am planning to use Nemo again for some
simulations using my own SNPs sequences for the source population. I was
wondering if you have an exmaple of a SNPs input file I could use to get
familiar with it to run some simulations on Nemo?


Regards,


*Dr. Iván Vera Escalona*

https://www.researchgate.net/profile/Ivan_Vera-Escalona
<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.researchgate.net%2Fprofile%2FIvan_Vera-Escalona&data=04%7C01%7Cceridwen.fraser%40otago.ac.nz%7C0f6fadc0f5cd4f812f5708d8b1f87977%7C0225efc578fe4928b1579ef24809e9ba%7C1%7C0%7C637455028147481796%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=UgyV%2F751OE2xzhpz65GVn5z0n14PFuc0auoywrLXgxc%3D&reserved=0>

Investigador Postdoctoral
CIBAS
Fono +56 412345118
*www.ucsc.cl
<https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ucsc.cl%2F&data=04%7C01%7Cceridwen.fraser%40otago.ac.nz%7C0f6fadc0f5cd4f812f5708d8b1f87977%7C0225efc578fe4928b1579ef24809e9ba%7C1%7C0%7C637455028147491747%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=8w2xvIPE4ASyo2k%2FUO8WWHa%2FejvINoyC3Cx0jSJY0bI%3D&reserved=0>*



<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
Virus-free. www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>


Esta informacion y sus adjuntos esta dirigida exclusivamente a sus
destinatarios. Antes de imprimir este correo, piense si es necesario.
Caracteres especiales y tildes han sido omitidos de forma voluntaria
para compatibilidad de los sistemas.

Frederic Guillaume

unread,
Feb 4, 2021, 10:45:16 AM2/4/21
to nemo-simul
Hi Ivan,
You can import SNP data the same way as you'd import microsatellite data with an FSTAT file. In the FSTAT file, you have to code the alleles (di-allelic) as '1' and '2', e.g. for ancestral and derived allele (or major and minor). The FSTAT format is described in the manual on pp.73-74 (don't use '0' to code your alleles). The two alleles at one locus are provided as a single "number": 12, 11, 22, or 21, first position (left-most) is for first allele, second position (right-most) is for second allele.

The procedure to import data from an external text file is described in section 3.2.2 in the manual, see parameter 'source_file_type'.

Using an FSTAT file means you have to use the neutral trait for your simulation. Check the example files in the "example" folder of the distribution package. You'll find the example 'fstat_input_and_cross.ini' to read in an FSTAT-formatted file for neutral markers, and then run a simulation from it. The example runs on data files generated from the simulations in the Nemo2.ini file in the same folder. The FSTAT format is the only used to read data for the neutral markers for now.

I hope this helps

Cheers
Fred
Reply all
Reply to author
Forward
0 new messages