DReichLab / DReichLab/AdmixTools

something about qpGraph

Open
#95 0 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

i am confused about this command
qpGraph -p parfile -g graph [-o outgraph] [-d dotfile]

i want to know how i can do with -g graph . it semms to need a tree structure, but how to write the note.

From read the expamle , i see above , but i have no idea to write my own messages , the lable and edge ....

root R
label Out O

label lables populations (leaf nodes) here population is "Out" vertex is "O"

label A A
label B B
label C C
label X X
edge q R Q

edge name q R -> O

edge o R O
edge cc Q CC
edge ab Q AB
edge c CC C
##edge ca CC CA
edge a AB A
edge bb AB BB
edge b BB B
##edge ba BB BA
admix XX BB CC 70 30

XX is admixture node BB , CC ..> XX with mixing proportions .7 .3

qpGraph normalizes weights to sum to 1

edge x XX X

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 with the qpGraph command usage and the graph example shown in this issue. Explain how -g graph expects root, label, edge, and admix lines, including a minimal user-authored graph and the meaning of each field. Done means a newcomer can write a graph file and pass it to -g.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.