DReichLab / DReichLab/AdmixTools

qpAdm - "pop: ??? has sample size 1 and inbreed set" error message

Open
#96 2 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

Hello,
I have some problem with qpAdm problem, so I need your help.
Please read this and answer me.

I got this error message after trying to running qpAdm
this says that "pop: Fun23 has sample size 1 and inbreed set / Aborted (core dumped)"
maybe this means that there is a problem that some groups has only one individual,
but I think that we can run qpAdm although there are small amount of data.
qpAdm

This error message only comes when I set the parameter "allsnps: Yes"
(if I set the parameter "allsnps: No", then the program runs smoothly with no problem)

What's the matter with my file?
I need your help.

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 reproducing the qpAdm run described in the issue, using the same input with allsnp set to Yes and No. Trace how qpAdm handles the “sample size 1 and inbreed set” condition and determine whether the error reflects invalid input, an allsnp-specific bug, or missing guidance; document the confirmed behavior and resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli
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.