DReichLab / DReichLab/AdmixTools

Best practices for converting plink bed bim fam to geno snp ind

Open
#74 3 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

Is there currently a best practice for adding plink bed bim fam samples to geno snp ind datasets.

I've always 1st converted geno snp ind to plink using convertf , merged all plink data in plink, then converted bed bim fam to ped map pedind and back to geno snp ind using convertf.

Sometimes I feel this is not the best way to do it though.

Also, FYI plink doesn't preserve allele order and I wasn't sure if allele order in snp files is important to AF calculations, so I have as a matter of practice always re-aligned allele order in snp files (messed up by conversions from plink) to match dbSNP and ensure that col 5 is REF and col 6 is ALT in snp file

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

The issue names PLINK and convertf but no repository files or tests. Review the existing convertf workflow and project documentation to determine the supported conversion and merge path, including whether allele order affects the resulting SNP data. Done means a documented, validated best-practice workflow.

Written by the indexing model from the issue text.

Assessment

Domain
bioinformatics
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.