DReichLab / DReichLab/AdmixTools

qpDstats produced strange results for some combination of species

Open
#59 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
235
Forks
76
PR merge metrics
No merged PRs in 30d

Description

Hi,

I am using qpdstats in admixtools to detect introgression among species.
I used convertVCFtoEigenstrat.sh script to convert vcf file to eigenstrat file format, and assigned each individual to a population. When I perform the qpDstats, it seems some analyses runs fine, but others just show 0, and the ones run fine were all significant, could anybody tell what's the problem?
Here is part of my result:

W | X | Y | Z | D | stderr | Zscore | BABA | ABBA | nsnps

1 Med CN AU EU 0 1 0 0 0 0
2 Med CN AU Usland 0 1 0 0 0 0
3 Med CN AU Usnat 0 1 0 0 0 0
4 Med CN AU OG 0 1 0 0 0 0
5 Med CN EU AU 0 1 0 0 0 0
6 Med CN EU Usland 0 1 0 0 0 0
7 Med CN EU Usnat 0 1 0 0 0 0
8 Med CN EU OG 0 1 0 0 0 0
9 Med CN Usland AU 0 1 0 0 0 0
10 Med CN Usland EU 0 1 0 0 0 0
37 Med AU OG CN 0 1 0 0 0 0
38 Med AU OG EU 0 1 0 0 0 0
39 Med AU OG Usland 0 1 0 0 0 0
40 Med AU OG Usnat 0 1 0 0 0 0
41 Med EU CN AU 0 1 0 0 0 0
42 Med EU CN Usland -0,3349 0,035253 -9,5 2485 4986 214014

Thanks,
Cui

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the qpDstats invocation and the population assignments produced while using convertVCFtoEigenstrat.sh. Compare the analyses with zero counts against the significant result, including the Eigenstrat inputs and reported nsnps values. Done means identifying the cause of the inconsistent output and confirming the correction with the affected species combinations.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, shell
Domain
bioinformatics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.