Dear Julian,thanks for the reply. �Two remarks about this. �1. Values of Fis (not Fst) are given, right? �2. if you ask the structure script to only use the first SNP (as in:�--write_single_snp) is it possible to only get that one used SNP in the resulting file? right now all SNPs are recorded. For sure your explanation at least explains the discrepancy, which completely baffled me�.Thanks again
Giacomo
On Wednesday, December 11, 2013 8:49:52 PM UTC-8, Julian Catchen wrote:
Hi Giacomo,
The batch_X.sumstats.tsv contains all the SNPs called for each of the
two populations. For one of these SNPs to be in the Fst file it has to
exist in both populations, but it can exist in either or both
populations and will still be output in the structure file. You should
identify some loci in the structure file missing from the Fst file and
take a look at them in the sumstats file or the web interface. It should
be clear if they should be output in both files.
Best,
julian
Giacomo Bernardi wrote:
> Dear all,
> I have a set of 71 individuals divided in two populations. �When I run
> a structure script, stacks identifies 1910 SNPs that are used to
> calculate population parameters. �A structure file is generated, it
> runs fine and has 71 individuals and 1910 loci. �The Fst file,
> however, contains much fewer loci (just over 500). �Any ideas on the
> reasons for the discrepancy? �I can generate a similar file by
> calculating Fst's with Arlequin, and finding the identity of each
> locus on the first line of the structure file. �But I'd rather
> understand what is wrong�..
> Thanks
--
Stacks website: http://creskolab.uoregon.edu/stacks/
---
You received this message because you are subscribed to the Google Groups "Stacks" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stacks-users...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Dear Julian,thank you for the clarification. This is what I meant, Fis is given but there is no way to recover the values of Fst, only the Fis, correct?ThanksGiacomo
On Wednesday, December 11, 2013 9:11:51 PM UTC-8, Julian Catchen wrote:
Hi Giacomo,
The batch_X.sumstats.tsv file does include Fis values:
http://creskolab.uoregon.edu/stacks/manual/#pfiles
And yes, if you specify --write_single_snp that should be maintained in all output files (but it is always the first SNP that is output).
julian
Giacomo Bernardi wrote:
Dear Julian,thanks for the reply. Two remarks about this. 1. Values of Fis (not Fst) are given, right? 2. if you ask the structure script to only use the first SNP (as in: --write_single_snp) is it possible to only get that one used SNP in the resulting file? right now all SNPs are recorded. For sure your explanation at least explains the discrepancy, which completely baffled me.