Skip to content

ValueError: ('Failed to normalize to within expected bounds', 0.0, 3.0, 9.0, 3.0) in genmod compound #204

Description

@fellen31

Command executed:

genmod \
        compound \
        --temp_dir ./ \
        --processes 2 \
        --outfile test_genmod_compound_compound.vcf \
        test_genmod_score_score.vcf

Command error:

      File "/opt/conda/lib/python3.11/site-packages/genmod/score_variants/score_variant.py", line 148, in as_normalized_max_min
        raise ValueError(
    ValueError: ('Failed to normalize to within expected bounds', 0.0, 3.0, 9.0, 3.0)
    
    [INFO/CompoundScorer-3] process shutting down
    [INFO/CompoundScorer-3] process shutting down
    [INFO/CompoundScorer-3] process shutting down
    Process CompoundScorer-3:
    Traceback (most recent call last):
      File "/opt/conda/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap
        self.run()
      File "/opt/conda/lib/python3.11/site-packages/genmod/score_variants/compound_scorer.py", line 360, in run
        raise e
      File "/opt/conda/lib/python3.11/site-packages/genmod/score_variants/compound_scorer.py", line 357, in run
        return self._run(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/conda/lib/python3.11/site-packages/genmod/score_variants/compound_scorer.py", line 260, in _run
        if compound_rank_score > get_rank_score(
                                 ^^^^^^^^^^^^^^^
      File "/opt/conda/lib/python3.11/site-packages/genmod/score_variants/compound_scorer.py", line 54, in get_rank_score
        return as_normalized_max_min(
               ^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/conda/lib/python3.11/site-packages/genmod/score_variants/score_variant.py", line 148, in as_normalized_max_min
        raise ValueError(
    ValueError: ('Failed to normalize to within expected bounds', 0.0, 3.0, 9.0, 3.0)
    [INFO/CompoundScorer-3] process exiting with exitcode 1
    [INFO/CompoundScorer-3] process exiting with exitcode 1
    [INFO/CompoundScorer-3] process exiting with exitcode 1
    [ERROR/MainProcess] Worker <CompoundScorer name='CompoundScorer-3' pid=101 parent=41 stopped exitcode=1> failed
    [ERROR/MainProcess] Worker <CompoundScorer name='CompoundScorer-3' pid=101 parent=41 stopped exitcode=1> failed
    [ERROR/MainProcess] Worker <CompoundScorer name='CompoundScorer-3' pid=101 parent=41 stopped exitcode=1> failed
    [INFO/MainProcess] Removing temp file
    [INFO/MainProcess] Removing temp file
    [INFO/MainProcess] Removing temp file
    Aborted!
    [INFO/MainProcess] process shutting down
    [INFO/MainProcess] process shutting down
    [INFO/MainProcess] process shutting down
    [INFO/MainProcess] sending shutdown message to manager
    [INFO/MainProcess] sending shutdown message to manager
    [INFO/MainProcess] sending shutdown message to manager
    [INFO/SyncManager-1] process shutting down
    [INFO/SyncManager-1] process shutting down
    [INFO/SyncManager-1] process shutting down
    [INFO/SyncManager-1] process exiting with exitcode 0
    [INFO/SyncManager-1] process exiting with exitcode 0
    [INFO/SyncManager-1] process exiting with exitcode 0
    [INFO/MainProcess] calling join() for process VariantPrinter-4
    [INFO/MainProcess] calling join() for process VariantPrinter-4
    [INFO/MainProcess] calling join() for process VariantPrinter-4

Running genmod 3.10.2 with test_genmod_score_score.vcf.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions