szpiech / selscan

Haplotype based scans for selection
GNU General Public License v3.0
107 stars 33 forks source link

When calculate iHS,the result file is empty. #84

Open meimingWu opened 2 years ago

szpiech commented 1 year ago

Hello,

Well there are a few reasons this could happen. selscan will filter low frequency sites (default MAF 0.05), so it is possible that may sites are being filtered. If the sites are sparsely distributed along the genome, it is possible that large gaps are preventing computations (can be modified with --max-gap). Did you get any warning messages in the log file?

Zachary

On Wed, May 11, 2022 at 10:10 AM meimingWu @.***> wrote:

Hi, I have a question, when I run the following command to calculate iHS, there is run log output, but the result file is empty. I saw the following description: "Selscan is 'dumb' with respect ancestral/derived coding and simply learning haplotype data to be coded 0/1." There are lots of 0/0 in my VCF file. Is this the reason why the output file is empty? Hope to get your reply, thank you!

selscan --ihs --vcf /data/sheep-ovis/orientalis/21vcf/chrnomissing.vcf/3.vcf --map /data/sheep-ovis/orientalis/ihs/map/3.map --out 3

— Reply to this email directly, view it on GitHub https://github.com/szpiech/selscan/issues/84, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABAKRQXPASPPQDWL3AHFCFTVJO5UVANCNFSM5VVCP4IQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>