StuntsPT / Structure_threader

A wrapper program to parallelize and automate runs of "Structure", "fastStructure" and "MavericK".
GNU General Public License v3.0
24 stars 11 forks source link

Structure_threader should plot the clustering graphs #11

Closed StuntsPT closed 9 years ago

StuntsPT commented 9 years ago

For added convenience.

StuntsPT commented 9 years ago

Since different programs output different files with the same information, we should standardize: I would suggest creating 2 files - one with the individual Q-values (indfile_K, where \ is the value of K) and one with the population labels (poplabels).

The indfile should simply have "K" columns, with the Q-values of each individual, in the order they are provided in the input file.

The poplabel should be a table with 2 columns - the population name and the number of individuals of that given population.

Both files should be tab separated.

The poplabels file can be created from the input directly, with the names "Pop1, Pop2, PopN". If a poplabel file already exists, it should not be overwritten, as the user may have created one.

The indfile is relatively simple to generate and should not cause any issues. It should be created each time from a random replicate, and not always the same.

StuntsPT commented 9 years ago

I have started implementing this in the master branch since these changes are so far not disruptive.

StuntsPT commented 9 years ago

Closed with commit 9595492e9.