Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DESeq2 dependency incompatibility #94

Closed
mashehu opened this issue Mar 12, 2020 · 5 comments
Closed

DESeq2 dependency incompatibility #94

mashehu opened this issue Mar 12, 2020 · 5 comments
Labels
bug Something isn't working

Comments

@mashehu
Copy link
Contributor

mashehu commented Mar 12, 2020

When testing the fix for the .Rprofile problem, the empty file inside docker seems to have solved one issue, but now I get the following error message:

  Error: package ‘S4Vectors’ 0.22.1 was found, but >= 0.23.18 is required by ‘DESeq2’
  In addition: Warning message:
  version 0.24.0 of ‘S4Vectors’ masked by 0.22.1 in /crex/proj/uppstore2017255/private/matthias/Rpackages
  Execution halted
@drpatelh
Copy link
Member

What exactly do you have in your ~/.Rprofile @mashehu ? I have one too but Ive never seen these errors. Would like to try and reproduce locally if I can because I have no idea why we are still getting a clash there...

Im assuming you pulled the lastest devcontainer for the pipeline?

@drpatelh drpatelh added the bug Something isn't working label Mar 12, 2020
@drpatelh
Copy link
Member

drpatelh commented Mar 12, 2020

Ok. I tested this locally with the latest container and it appears that ~/.Rprofile actually resolves to the users home directory which leaves us no better than we were before 😅

See #95

@mashehu
Copy link
Contributor Author

mashehu commented Mar 12, 2020

I can't check, if commenting out my ~/.Rprofile (which contains a redirect of the libPaths), because now I got a new error weirder error:

Error executing process > 'BWAMem (OSMOTIC_STRESS_T0_R1_T1)'

Caused by:
  Unknown variable 'bwa_base' -- Make sure it is not misspelt and defined somewhere in the script before using it

Source block:
  prefix = "${name}.Lb"
  rg = "\'@RG\\tID:${name}\\tSM:${name.split('_')[0..-2].join('_')}\\tPL:ILLUMINA\\tLB:${name}\\tPU:1\'"
  if (params.seq_center) {
          rg = "\'@RG\\tID:${name}\\tSM:${name.split('_')[0..-2].join('_')}\\tPL:ILLUMINA\\tLB:${name}\\tPU:1\\tCN:${params.seq_center}\'"
      }
  """
      bwa mem \\
          -t $task.cpus \\
          -M \\
          -R $rg \\
          ${index}/${bwa_base} \\
          $reads \\
          | samtools view -@ $task.cpus -b -h -F 0x0100 -O BAM -o ${prefix}.bam -
      """

@mashehu
Copy link
Contributor Author

mashehu commented Mar 12, 2020

Okay, the error seems to be fixed now.

@mashehu mashehu closed this as completed Mar 12, 2020
@drpatelh
Copy link
Member

Woooooohooooooo! Thanks alot @mashehu !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants