Skip to content

STAGER error: subscript out of bounds #14

@jma1991

Description

@jma1991

Hello,

We recently integrated the stageR package into the nf-core/rnasplice workflow. However, a user has reported a technical issue that we're struggling to resolve. When the user sets the alpha parameter in the stageWiseAdjustment function to the standard value of 0.05, they receive a 'subscript out of bounds' error.

Error in `[<-`(`*tmp*`, idCon, 1, value = unlist(txLevelAdjustments)) : 
  subscript out of bounds

Interestingly, adjusting alpha to 1 triggers a different error.

Error in FUN(X[[i]], ...) : 
  Some genes have only one transcript; this is incompatible with DTU correction. Remove these transcripts.

We're seeking guidance on how to address this issue. The user has shared their input files for reference, and the relevant code is located in the run_stager.R script, which you can find in the bin folder of our GitHub repository.

Thanks,
James

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