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

Issue with getPloidy #15

Open
rancilhac opened this issue Jan 24, 2023 · 0 comments
Open

Issue with getPloidy #15

rancilhac opened this issue Jan 24, 2023 · 0 comments

Comments

@rancilhac
Copy link

Hi,

I'm trying to run vcf2fasta.py to extract CDS from a large vcf. The GFF, fasta reference and vcf load fine, but then I get this error:

(vcf2fasta) [los@rackham3 fasta_CDS]$ more fasta_CDS.err
Traceback (most recent call last):
  File "/home/los/software/vcf2fasta/vcf2fasta.py", line 515, in <module>
    main()
  File "/home/los/software/vcf2fasta/vcf2fasta.py", line 94, in main
    ploidy = getPloidy(vcf)
  File "/home/los/software/vcf2fasta/vcf2fasta.py", line 490, in getPloidy
    return p[0]

My data is diploid and phased. Any idea why this happens, and how to fix it?

Thanks a lot,
Loïs

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

1 participant