You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -105,7 +105,7 @@ The map files (`--map`) should be in the same format as used by [Selscan](https:
105
105
### Output file formats ###
106
106
107
107
- ehhbin outputs five columns. The first three being the locus' ID and its genetic and physical positions. These are followed by two columns corresponding to the EHH for each of the alleles at this locus (allele coded as 0 then 1).
108
-
- ihsbin outputs two files, the first containing unstandardised iHS for allele 0 and the second (with the .std extension) containing the corresponding standardised iHS (alleles grouped in to 2% frequency bins for standardisation by default). Each of these output files contains two columns: the SNP locus id (as specified in the map file) and corresponding iHS value.
108
+
- ihsbin outputs a file with each allele's iHH value (iHH_0 and iHH_1) as well as the unstandardised and standardised iHS values (alleles grouped in to 2% frequency bins for standardisation by default). The first column is the SNP locus id (as specified in the map file).
109
109
- xpehh outputs a file containing five columns: the SNP locus id (as specified in the map file), corresponding iHH values and finally the XP-EHH value.
110
110
111
111
### Examples ###
@@ -123,3 +123,9 @@ Example command for calculating XP-EHH with default values for minor allele freq
Each of the input files referred to in these examples can be found in the data directory.
126
+
127
+
### Frequently asked questions ###
128
+
129
+
**1. Why do selscan and hapbin give me slightly different iHS values with the same input data?**
130
+
131
+
By default selscan calculates homozygosity values using binomial coefficents. Hapbin uses the sum of the squared haplotype frequencies which can also be used by selscan using the --alt flag. When the --alt flag is used with selscan the two approaches should be comparable.
0 commit comments