Skip to content

TypeError: '<' not supported between instances of 'int' and 'NoneType' #40

@selasphoruskershaw

Description

@selasphoruskershaw

Hi,

I am trying to run Tajima's D in vcf-kit using the following command:
docker run -it andersenlab/vcf-kit vk tajima 10000 --sliding file.vcf

However, I receive the following set of error messages immediately:
Traceback (most recent call last):
File "/opt/conda/envs/vcf-kit/lib/python3.7/site-packages/vcfkit/tajima.py", line 148, in
main()
File "/opt/conda/envs/vcf-kit/lib/python3.7/site-packages/vcfkit/tajima.py", line 129, in main
if wz < sz:
TypeError: '<' not supported between instances of 'int' and 'NoneType'

I have tried different vcf files to see if that might have been the problem, but I get the same error message regardless. I am running Python version 3.6.13 in Terminal in Mac BigSur. What can I do to fix this? Thanks for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions