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

Fix path for ControlFREEC #50

Closed
FedericoComoglio opened this issue Oct 16, 2019 · 0 comments
Closed

Fix path for ControlFREEC #50

FedericoComoglio opened this issue Oct 16, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@FedericoComoglio
Copy link

Hi everyone,

running sarek v2.5 with ControlFREEC among the tools, returned

[0;35m[nf-core/sarek] Pipeline completed with errors
Error executing process > 'ControlFreecViz (T_vs_N)'

Caused by:
  Process `ControlFreecViz (T_vs_N)` terminated with an error exit status (1)

Command executed:

  cat /opt/conda/envs/sarek-2.5/bin/assess_significance.R | R --slave --args T.pileup.gz_CNVs T.pileup.gz_ratio.txt
  cat /opt/conda/envs/sarek-2.5/bin/assess_significance.R | R --slave --args T.pileup.gz_normal_CNVs T.pileup.gz_normal_ratio.txt
  cat /opt/conda/envs/sarek-2.5/bin/makeGraph.R | R --slave --args 2 T.pileup.gz_ratio.txt T.pileup.gz_BAF.txt
  cat /opt/conda/envs/sarek-2.5/bin/makeGraph.R | R --slave --args 2 T.pileup.gz_normal_ratio.txt N.pileup.gz_BAF.txt
  perl /opt/conda/envs/sarek-2.5/bin/freec2bed.pl -f T.pileup.gz_ratio.txt > T.bed
  perl /opt/conda/envs/sarek-2.5/bin/freec2bed.pl -f T.pileup.gz_normal_ratio.txt > N.bed

Command exit status:
  1

Command output:
  (empty)

Command error:
  cat: /opt/conda/envs/sarek-2.5/bin/assess_significance.R: No such file or directory

The reason is that /opt/conda/envs/sarek-2.5/bin/assess_significance.R is actually /opt/conda/envs/nf-core-sarek-2.5/bin/assess_significance.R

A quick check suggests to fix the path in:

grep 'envs/sarek-' main.nf
    cat /opt/conda/envs/sarek-${workflow.manifest.version}/bin/assess_significance.R | R --slave --args ${cnvTumor} ${ratioTumor}
    cat /opt/conda/envs/sarek-${workflow.manifest.version}/bin/assess_significance.R | R --slave --args ${cnvNormal} ${ratioNormal}
    cat /opt/conda/envs/sarek-${workflow.manifest.version}/bin/makeGraph.R | R --slave --args 2 ${ratioTumor} ${bafTumor}
    cat /opt/conda/envs/sarek-${workflow.manifest.version}/bin/makeGraph.R | R --slave --args 2 ${ratioNormal} ${bafNormal}
    perl /opt/conda/envs/sarek-${workflow.manifest.version}/bin/freec2bed.pl -f ${ratioTumor} > ${idSampleTumor}.bed
    perl /opt/conda/envs/sarek-${workflow.manifest.version}/bin/freec2bed.pl -f ${ratioNormal} > ${idSampleNormal}.bed
    genesplicer = params.genesplicer ? "--plugin GeneSplicer,/opt/conda/envs/sarek-${workflow.manifest.version}/bin/genesplicer,/opt/conda/envs/sarek-${workflow.manifest.version}/share/genesplicer-1.0-1/human,context=200,tmpdir=\$PWD/${reducedVCF}" : "--offline"
    genesplicer = params.genesplicer ? "--plugin GeneSplicer,/opt/conda/envs/sarek-${workflow.manifest.version}/bin/genesplicer,/opt/conda/envs/sarek-${workflow.manifest.version}/share/genesplicer-1.0-1/human,context=200,tmpdir=\$PWD/${reducedVCF}" : "--offline"

The run completed successfully after fixing this.

Federico

@maxulysse maxulysse self-assigned this Oct 21, 2019
@maxulysse maxulysse added the bug Something isn't working label Oct 21, 2019
@maxulysse maxulysse mentioned this issue Oct 21, 2019
8 tasks
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