Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to generate legal input file with “nucleotide” coding #1

Open
Christinawang666 opened this issue Mar 8, 2022 · 2 comments
Open

Comments

@Christinawang666
Copy link

I am doing a simulation and I supposed to generate 600 individuals' haplotype. Each haplotype contains 3 SNPs, we know that for each SNP, I have two options: A/T or G/C. I was wondering how many letters a subject identifier should be followed by, 3, or 6? Assume the haplotype of individual 1 is (A/T)(A/T)(G/C), and if the answer is 3 and , which 3 letters should I input? AAG/ATC or ect? or I just do it randomly? and if the answer is 6, should I input ATATGC?
I am asking this because I have tried all the circumstance but none was right and I get really confused. The error information when I input 3 SNP is: should be an id plus two fields for each locus. As for the error information when I input 5 SNP as above, it says: Data error on locus XXX, skipping this subject XXX.
I was wondering if I can get any assistance, thank you so much!

@chr1swallace
Copy link
Owner

chr1swallace commented Mar 8, 2022 via email

@Christinawang666
Copy link
Author

Christinawang666 commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants