--
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.
For more options, visit https://groups.google.com/d/optout.
Hi,thank you so much for your replay. This is what I have:number of columns in .ped:
$ awk '{print NF}' finalEDIC.chr1.ped | sort -nu | tail -n 1
78175
number of lines in .map file:
$ wc -l finalEDIC.chr1.map
39085 finalEDIC.chr1.map
so n=39085
number of columns in .ped =2n + 6=78176Do you know what I can do about this?ThanksAna
On Wed, Nov 21, 2018 at 8:32 PM Christopher Chang wrote:
There appear to be two issues here.--1. .ped files are normally assumed to contain 6, not 5, columns before the genotypes begin. The .ped in your screenshot appears to be missing the phenotype (6th) column.2. However, plink complained about seeing more, not fewer, tokens than expected in the line. This implies a mismatch with the .map file: each .ped line is supposed to have 2n + 6 columns, where n is the number of lines in the .map file. If the missing phenotype column was the only problem, there would be 2n + 5 columns, which would be fewer than the expected 2n + 6.
On Thursday, November 22, 2018 at 5:53:46 AM UTC+8, Ana Marija wrote:Hello,I am trying to convert ped/map file into vcf file via:module load plink/1.90module load vcftoolsplink --ped finalEDIC.chr1.pedc --map finalEDIC.chr1.map --recode vcf --out finalEDIC.chr1But I am getting this error:
Rescanning .ped file... 0%
Error: Line 1 of .ped file has more tokens than expected.
format of .ped file is shown in attachment.
Is there is other way to convert .ped/.map to .vcf or there is something wrong with this .ped format?ThanksAna
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+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to plink2-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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.
Hi,
thanks again, so where I would put that flag?Maybe like this?plink --ped --no-pheno finalEDIC.chr1.pedc --map finalEDIC.chr1.map --recode vcf --out finalEDIC.chr1
To unsubscribe from this group and stop receiving emails from it, send an email to plink2-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to plink2-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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.
For more options, visit https://groups.google.com/d/optout.
--
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.
I’d need to look at your .map file and the first line of your .ped to investigate this further.
Okay, the problem is that there are 34 blank lines scattered within the .map file; you'll need to investigate why they're there.
.png?part=0.2&view=1)
.png?part=0.1&view=1)
--
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/8a263016-d36b-4269-98e6-dbcffaa04773n%40googlegroups.com.
--
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/56bf095e-2c5d-478a-a550-f4b4e8abe735n%40googlegroups.com.