A short description of the post.


Center for Environmental Studies


April 5, 2016

The program STRUCTURE is an ubiquitous feature of many population genetic studies these days—if it is appropriate is another question. Today, while covering model based clustering in population genetics, we ran into a problem where STRUCTURE was unable to run and the OS said it was Corrupted and should be thrown away. Jump below for our fix, it really is an easy one.

The most recent version of the GUI STRUCTURE java package dates from 2012. This is getting a bit long in the tooth, but when teaching it is not that far fetched to have aged laptops…

The error we were running into is the prompted with the following dialog box when attempting to start the program.

Lies about damaged

As it turns out, sometime between 2012 and now, OSX has moved towards digitally signing applications and in this case, it is not that it is “damaged” it just won’t allow the Java Runtime to run it unless we make a small change in the preferences panel and select the Security & Privacy option.

Security Settings

Then authenticate on the bottom by clicking on the lock and entering your password.

Click to Authenticate

Now, change the setting on the Allow apps downloaded from to the Anywhere option.

Change to Allow from Anyone Temporarily

This should allow you to start STRUCTURE and run it. Do that and then close it. Go back to the System Preferences and turn it back to what you had it before.

Change back

Once you run it once, you will be able to run it again without lowering your security. Happy clustering!