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

IndexError: list index out of range #39

Open
UmerMaqsood10 opened this issue Feb 12, 2018 · 5 comments
Open

IndexError: list index out of range #39

UmerMaqsood10 opened this issue Feb 12, 2018 · 5 comments

Comments

@UmerMaqsood10
Copy link

HYE THERE
I am using peddy to calculate PCA with command
-m peddy -p 4 --plot --prefix 69_out PCA_data/69_without_N_imputated.vcf.gz PCA_data/69_without_N_imputed.plk.ped

after some initial start it is giving the following error.
IndexError: list index out of range
After reading a previous discussion I also modified the last row of the ped file, but still error is prevailing.

built installed from anaconda and git hub both are giving the same error.
Kindly help me sorting it out

@brentp
Copy link
Owner

brentp commented Feb 12, 2018

Hi, can you report the full error message and share your ped file? You can send it to me privately if you prefer.

@UmerMaqsood10
Copy link
Author

UmerMaqsood10 commented Feb 12, 2018 via email

@brentp
Copy link
Owner

brentp commented Feb 13, 2018

Peddy requires that there is depth information associated with the variants. This is critical for filtering to high-quality genotype calls. You can add this artificially by setting e.g. AD=20,20.

Peddy could support cases where no genotypes have depths, but I have no plans to add that at this time as it will complicate the user-interface.

@UmerMaqsood10
Copy link
Author

UmerMaqsood10 commented Feb 14, 2018 via email

@brentp
Copy link
Owner

brentp commented Feb 14, 2018

It would have to go in your VCF. Peddy only uses the first 6 columns of the ped/fam file to determine the expected relationships.

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