Dear ChangI am trying to update the sex information but i did not get couple of things.my pop file is like thisL63604 ML63605 FL63591 ML63592 ML63600 Mbut manual says i have to add two more columns of FIDs and IIDs, I dont get what I have to add here.could you please suggest a sample pop file please or reply to this email please.bestSafiOn Fri, Feb 5, 2021 at 8:28 PM Safiqul Islam <safi...@gmail.com> wrote:D--update-sex expects a file with FIDs and IIDs in the first two columns, and sex information (1 or M = male, 2 or F = female, 0 = missing) in the (n+2)th column
--
You received this message because you are subscribed to the Google Groups "plink2-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to plink2-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/plink2-users/afad7a57-6479-421c-9a0a-6cb41844ddebn%40googlegroups.com.
--Safiqul IslamFounder & CEO, wildmentor (http://www.wildmentor.org/)Scientific Assistant at Senckenberg Naturhistorische Sammlungen Dresden (http://www.senckenberg.de/)Doctoral Student (Phylogeography-Ornithology) at Ludwig-Maximilians-Universität München (http://www.uni-muenchen.de/)--Safiqul IslamFounder & CEO, wildmentor (http://www.wildmentor.org/)Scientific Assistant at Senckenberg Naturhistorische Sammlungen Dresden (http://www.senckenberg.de/)Doctoral Student (Phylogeography-Ornithology) at Ludwig-Maximilians-Universität München (http://www.uni-muenchen.de/)
Dear Changsorry for disturbing you, Really sorry.My command was like this: $ plink --vcf M29F30_BiSnps.recode.vcf --update-sex ./SexInfo-M1-F2.txt --make-bed --out ./Population file was like this.#IID SEX
L63604 M
L63605 M
L63608 M
L63609 M
L56980 MFor the chromosome: I want to modify only sex chromosomes.Inside the vcf file sex chromosome X=29 and Y=30.I got this error. Could you please suggest to me how I can fix it.Output was
Logging to ./.log.
Options in effect:
--make-bed
--out ./
--update-sex ./SexInfo-M1-F2.txt
--vcf M29F30_BiSnps.recode.vcf
16384 MB RAM detected; reserving 8192 MB for main workspace.
Error: Invalid chromosome code '29' on line 12 of .vcf file.
(This is disallowed for humans. Check if the problem is with your data, or if
you forgot to define a different chromosome set with e.g. --chr-set.)
Thanks a lot for your kind help. I spent couple of days to solve this issue,you are really great , Thanks a lot for your help
best
Safi
To view this discussion on the web visit https://groups.google.com/d/msgid/plink2-users/fbdfd29e-5e56-4f36-be5c-a1cec0622a70n%40googlegroups.com.
Dear ChangI read the that looks really complex to me. I am working with birds. for the birds Male ZZ and females has ZW.I am using ref based genome. here I am only using sex chromosomes. and Chromosome number 29=ZZ and 30=ZWplink2 --vcf M29F30_BiSnps.recode.vcf --update-sex ./SexInfo-M1-F2.txt --chr-set --make-bed --out ./
what I should specify here "--chr-set " after this please please help.
thank you in an advance