alachins / raisd

RAiSD: software to detect positive selection based on multiple signatures of a selective sweep and SNP vectors
33 stars 13 forks source link

The shorter the scaffold is, the bigger the mu-statistic value is. #5

Closed jiyongkun closed 5 years ago

jiyongkun commented 5 years ago

The genome has assembled in scaffold level and has more than two thousand scaffolds. But when I did a Manhattan plotting of the result of RAiSD, I found the shorter the scaffold is, the bigger the mu-statistic value is. That is, the regions on shorter scaffold always tend to have bigger mu-statistic value. Thus I cannot compare the mu-statistic value among different scaffolds. Please see the following image for details. The scaffolds are sorted by length. Commercial Photography

alachins commented 5 years ago

Hello and sorry for the late response, You are right, the values among different scaffolds can not be compared due to the denominator of the muVAR. We designed the mu-statistic so that the values within the same scaffold can be compared. An option to generate scores that can be compared among different scaffolds will be introduced in one of the upcoming releases.

alachins commented 5 years ago

RAiSD is now modified (version 2.0 or later) in a way that generates comparable scores among regions of different lengths and sample sizes.