Skip to content

outdated pydeseq2 argument 'clinical' #317

@e-coral

Description

@e-coral

Describe the bug
When running the capcruncher pipeline, I encounter 'TypeError: DeseqDataSet.init() got an unexpected keyword argument 'clinical''.

According to the pydeseq2 github page, 'clinical' was renamed 'metadata' a couple of years ago (scverse/PyDESeq2@f346162)

The capcruncher requirements file does not specify a version for pydeseq2, meaning that the latest version of pydeseq2 gets installed with fresh installations of capcruncher. Therefore, the 'clinical' argument is now invalid for the automatically installed version of pydeseq2.

To Reproduce
Steps to reproduce the behavior:
Install the most recent version of pydeseq2, and run capcruncher pipeline.

Expected behavior
Either:

  1. specify a relevant older version of pydeseq2 in the requirements file
  2. update def get_differential_interactions (interactions_differential.py) to use 'metadata' instead of 'clinical'
  3. employ a version check and use the relevant argument for the version, similar to dds.deg_analysis function error omicverse/omicverse#163

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions