-
Notifications
You must be signed in to change notification settings - Fork 40
get warning when run peddy #31
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
Comments
that means your VCF has samples that are not in the ped file. can you post the full output? and the output of |
Sure, here are the full output of the warnings WARNING: ^[[1;31mped_check^[[0m and here is the output of zgrep -m1 CHROM $vcf I also checked the IDs in both ped and vcf and they seemed to match each other. Thanks! |
This is odd. |
The ped file is very large. Actually I got the ped file by converting the plink bim, fam and bed file format. |
ok. the ped file for peddy only needs the first 6 columns. Seems like you might have an empty row (maybe at the end?) |
ok, I will check the rows and columns. Thank you very much! |
I used the first 6 columns in ped file and the warnings disappeared. Thanks very much! |
Hi, 2018-09-17 16:01:16 mdrtc3611 peddy.cli[9666] INFO Running Peddy version 0.4.2 2018-09-17 16:01:16 mdrtc3611 peddy.cli[9666] WARNING 1 samples in ped not in vcf: 2018-09-17 16:01:16 mdrtc3611 peddy.cli[9666] INFO ped_check the output for zgrep -m1 CHROM $vcf is: and for cut -f 1 $ped is: 1 39001 0 42666 2 -9 Is it by any chance obvious what I am doing wrong? the ped is space separated not tab |
you should use tabs. and make sure you don't have any empty lines at the end of the file. is it possible that you have a really old version of cyvcf2? you could update that as well. |
Thank you for the immediate reply. running test Using /home/athinat/bin/cyvcf2-master/.eggs/nose-1.3.7-py2.7.egg ======================================================================
|
can you install the cyvcf2 from bioconda? otherwise, you'll need libcrypto and libcurl and likely liblzma |
Bioconda did the job! |
Hi,
When I try to run peddy, I always got warnings like the following.
"WARNING:
24 samples in vcf not in ped:"
Does this matter? The results looks fine.
Thanks very much!
The text was updated successfully, but these errors were encountered: