strataG

Nora Mitchell February 14, 2017

Goals for Today’s Lab

I

Brief diagram learning

I

Install command-line STRUCTURE

I

Learn how to use R package strataG

I

Check default prior assumption

Life

Components of Selection

Grad School Selection

Grad School Selection

Review: Viewing Bayesian Output

For Kent’s code, use print.summary() But, if DIC=TRUE, tracks too many things!

Review: Viewing Bayesian Output

Can use the jagstools library and jagsresults() function This function works if you run code with multiple chains! Can find and edit source code if need be.

STRUCTURE

Last week we learned how to use the Bayesian program STRUCTURE to perform individual assignment analysis. This program takes genetic data from individuals and is iteratively run over different values of K groups, then evaluated for which value(s) of K are most supported

STRUCTURE

STRUCTURE has a graphical user interface, which can be nice, but can also be inconvenient. What if you want to run it on a cluster? Or for a long time? Why is it so buggy? There is a command-line version of STRUCTURE that you can download.

strataG

Archer et al. (2016) came out an R wrapper package for a number of programs, including STRUCTURE strataG, similar to R2jags, can run executables in R. Today, we’ll install the command-line version and learn how to use it in R!

strataG strataG runs STRUCTURE and can make plots!

strataG strataG runs STRUCTURE and can make plots!

Settings

Additionally, the parameter settings that we use include more than just the burnin and number of iterations/reps to run Wang (2016) investigated the use of the ALPHA ancestry prior, which assumes that all populations contribute equally to the pool of individuals sampled “The computer program structure for assigning individuals to populations: easy to use but easier to misuse” Why might this be a problem?

Wang (2016) The non-default version (alternative ancestry prior) of ALPHA allows for populations to contribute differentially to the pool, but it’s kind of hidden

Wang (2016) When sample sizes from populations are unequal, how does choice of prior affect results?

Prunier (Accepted) When sample sizes from populations are unequal, how does choice of prior affect results?

Today’s Activity

1. Use strataG tutorial 2. Download STRUCTURE executable 3. Make sure it’s location is added to PATH (see OS-specific instructions) 4. Install strataG package in R 5. Use strataG to run STRUCTURE on repens data and make plots 6. Use Nora-edited function to run STRUCTURE using alternative ancestry prior 7. Compare interpretation using default and alternative priors

Works Cited I

Archer, F. I., Adams, P. E. and Schneiders, B. B. (2016), strataG: An R package for manipulating, summarizing and analysing population genetic data. Mol Ecol Resour. doi:10.1111/1755-0998.12559

I

Evanno, G., S. Regnaut, and J. Goudet. 2005. Detecting the number of clusters of individuals using the software STRUCTURE: a simulation study. Molecular Ecology 14:2611-2620.

I

Pritchard, J. K., M. Stephens, and P. Donnelly. 2000. Inference of population structure using multilocus genotype data. Genetics 155:945-959.

I

Rosenberg, N.A., J.K. Pritcharad, J.L. Weber, H.M. Cann, K.K. Kidd, L.A. Zhivotovsky, and M.W. Feldman. 2002. Genetic Structure of Human Populations. Science 298(5602): 2381-2385.

I

Wang, J. (2016). The computer program Structure for assigning individuals to populations: easy to use but easier to misuse. Molecular Ecology Resources.

strataG - GitHub

Feb 14, 2017 - STRUCTURE to perform individual assignment analysis. This program takes genetic data from individuals and is iteratively run over different ...

756KB Sizes 26 Downloads 186 Views

Recommend Documents

Lab 5: strataG - GitHub
Let's take Wang (2016)'s advice into account. • To change settings to ... individuals using the software STRUCTURE: a simulation study. Molecular Ecology.

GitHub
domain = meq.domain(10,20,0,10); cells = meq.cells(domain,num_freq=200, num_time=100); ...... This is now contaminator-free. – Observe the ghosts. Optional ...

GitHub
data can only be “corrected” for a single point on the sky. ... sufficient to predict it at the phase center (shifting ... errors (well this is actually good news, isn't it?)

Torsten - GitHub
Metrum Research Group has developed a prototype Pharmacokinetic/Pharmacodynamic (PKPD) model library for use in Stan 2.12. ... Torsten uses a development version of Stan, that follows the 2.12 release, in order to implement the matrix exponential fun

Untitled - GitHub
The next section reviews some approaches adopted for this problem, in astronomy and in computer vision gener- ... cussed below), we would question the sensitivity of a. Delaunay triangulation alone for capturing the .... computation to be improved fr

ECf000172411 - GitHub
Robert. Spec Sr Trading Supt. ENA West Power Fundamental Analysis. Timothy A Heizenrader. 1400 Smith St, Houston, Tx. Yes. Yes. Arnold. John. VP Trading.

Untitled - GitHub
Iwip a man in the middle implementation. TOR. Andrea Marcelli prof. Fulvio Risso. 1859. Page 3. from packets. PEX. CethernetDipo topo data. Private. Execution. Environment to the awareness of a connection. FROG develpment. Cethernet DipD tcpD data. P

BOOM - GitHub
Dec 4, 2016 - 3.2.3 Managing the Global History Register . ..... Put another way, instructions don't need to spend N cycles moving their way through the fetch ...

Supervisor - GitHub
When given an integer, the supervisor terminates the child process using. Process.exit(child, :shutdown) and waits for an exist signal within the time.

robtarr - GitHub
http://globalmoxie.com/blog/making-of-people-mobile.shtml. Saturday, October ... http://24ways.org/2011/conditional-loading-for-responsive-designs. Saturday ...

MY9221 - GitHub
The MY9221, 12-channels (R/G/B x 4) c o n s t a n t current APDM (Adaptive Pulse Density. Modulation) LED driver, operates over a 3V ~ 5.5V input voltage ...

fpYlll - GitHub
Jul 6, 2017 - fpylll is a Python (2 and 3) library for performing lattice reduction on ... expressiveness and ease-of-use beat raw performance.1. 1Okay, to ... py.test for testing Python. .... GSO complete API for plain Gram-Schmidt objects, all.

article - GitHub
2 Universidad Nacional de Tres de Febrero, Caseros, Argentina. ..... www-nlpir.nist.gov/projects/duc/guidelines/2002.html. 6. .... http://singhal.info/ieee2001.pdf.

PyBioMed - GitHub
calculate ten types of molecular descriptors to represent small molecules, including constitutional descriptors ... charge descriptors, molecular properties, kappa shape indices, MOE-type descriptors, and molecular ... The molecular weight (MW) is th

MOC3063 - GitHub
IF lies between max IFT (15mA for MOC3061M, 10mA for MOC3062M ..... Dual Cool™ ... Fairchild's Anti-Counterfeiting Policy is also stated on ourexternal website, ... Datasheet contains the design specifications for product development.

MLX90615 - GitHub
Nov 8, 2013 - of 0.02°C or via a 10-bit PWM (Pulse Width Modulated) signal from the device. ...... The chip supports a 2 wires serial protocol, build with pins SDA and SCL. ...... measure the temperature profile of the top of the can and keep the pe

Covarep - GitHub
Apr 23, 2014 - Gilles Degottex1, John Kane2, Thomas Drugman3, Tuomo Raitio4, Stefan .... Compile the Covarep.pdf document if Covarep.tex changed.

SeparableFilter11 - GitHub
1. SeparableFilter11. AMD Developer Relations. Overview ... Load the center sample(s) int2 i2KernelCenter ... Macro defines what happens at the kernel center.

Programming - GitHub
Jan 16, 2018 - The second you can only catch by thorough testing (see the HW). 5. Don't use magic numbers. 6. Use meaningful names. Don't do this: data("ChickWeight") out = lm(weight~Time+Chick+Diet, data=ChickWeight). 7. Comment things that aren't c

SoCsploitation - GitHub
Page 2 ... ( everything – {laptops, servers, etc.} ) • Cheap and low power! WTF is a SoC ... %20Advice_for_Shellcode_on_Embedded_Syst ems.pdf. Tell me more! ... didn't destroy one to have pretty pictures… Teridian ..... [email protected].

Datasheet - GitHub
Dec 18, 2014 - Compliant with Android K and L ..... 9.49 SENSORHUB10_REG (37h) . .... DocID026899 Rev 7. 10. Embedded functions register mapping .