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

error: unexpected end-of-file. #47

Open
zhujack8 opened this issue Jan 4, 2024 · 2 comments
Open

error: unexpected end-of-file. #47

zhujack8 opened this issue Jan 4, 2024 · 2 comments

Comments

@zhujack8
Copy link

zhujack8 commented Jan 4, 2024

I ran vcf2phylip to generate the phylip file and got an error:

error: unexpected end-of-file.

After checking the .phy file and found the length of name + padding is not equal 9, which is not 10 that is required by dnapars. After I manually padded the name to 10, the problem is gone.

@edgardomortiz
Copy link
Owner

Sorry, I don't understand the issue, dnapars gave the error? I have never used that program, could you share a sample of your vcf to see if I can do something?

Edgardo

@zhujack8
Copy link
Author

zhujack8 commented Jan 4, 2024

Sorry for the confusing. I meant I used the .phy file from vcf2phylip as input to run PHYLIP dnapars. I got the error. Then I found the problem was that the length of sample name + padding was not equal 10 in the .phy file from vcf2phylip. After I manually padded the name to 10, the problem was gone.

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