Skip to content

finally step (merge_files) error when input VCF file contains multi-chromosomes. See the example in tests/phimtools_demo.sh #2

@aiyacharley

Description

@aiyacharley

Error information as following:

Traceback (most recent call last):
File "/home/wangcr/miniconda3/bin/phimtools", line 33, in
sys.exit(load_entry_point('phimtools==1.1.0', 'console_scripts', 'phimtools')())
File "/home/wangcr/miniconda3/lib/python3.8/site-packages/phimtools/main.py", line 300, in main
phaseImpute(kwargs)
File "/home/wangcr/miniconda3/lib/python3.8/site-packages/phimtools/main.py", line 258, in phaseImpute
runfunction.imputation(kwargs, config, toolstore)
File "/home/wangcr/miniconda3/lib/python3.8/site-packages/phimtools/launch/runfunction.py", line 105, in imputation
merge_files([f for f in out_phase_files], final_out_phase_file,
File "/home/wangcr/miniconda3/lib/python3.8/site-packages/phimtools/utils.py", line 222, in merge_files
heapq.heappush(the_heap, the_file_for_queueing)
TypeError: '<' not supported between instances of 'FileForQueueing' and 'FileForQueueing'

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