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

Summary report parameters have input.X #68

Closed
matq007 opened this issue Apr 6, 2019 · 1 comment
Closed

Summary report parameters have input.X #68

matq007 opened this issue Apr 6, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@matq007
Copy link
Member

matq007 commented Apr 6, 2019

The fusion-report will not work correctly when not all tools are specified. Nextflow will create an empty symlink and provide it as an input to the process. This will break the pipeline because the fusion-report doesn't check if the file is empty only if it exists.

ERROR ~ Error executing process > 'summary (QUK17111CT_tumor)'

Caused by:
  Process `summary (QUK17111CT_tumor)` terminated with an error exit status (1)

Command executed:

  fusion_report run QUK17111CT_tumor . /sfs/7/workspace/ws/iiipe01-test-rnafusion-0/dbs_for_fusion \
      --ericscript fusions.results.filtered.tsv \
      --starfusion star-fusion.fusion_predictions.tsv \
      --fusioncatcher input.3 \
      --squid input.7 \
      --pizzly pizzly_fusions.txt

Command exit status:
  1

Command output:
  (empty)

Command error:
  Traceback (most recent call last):
    File "/opt/conda/envs/nf-core-rnafusion-1.0.1/bin/fusion_report", line 414, in <module>
      main()
    File "/opt/conda/envs/nf-core-rnafusion-1.0.1/bin/fusion_report", line 407, in main
      generate_report(params)
    File "/opt/conda/envs/nf-core-rnafusion-1.0.1/bin/fusion_report", line 244, in generate_report
      parser = parse(params)
    File "/opt/conda/envs/nf-core-rnafusion-1.0.1/bin/fusion_report", line 30, in parse
      tools.parse(tool, params.__dict__[tool])
    File "/opt/conda/envs/nf-core-rnafusion-1.0.1/lib/python3.6/site-packages/fusion_report/lib/tool_parser.py", line 27, in parse
      next(in_file) # skip header
  StopIteration

Work dir:
  /sfs/7/workspace/ws/iiipe01-test-rnafusion-0/work/e5/7fc73021d1d582d2625b0491c5cc82

Tip: you can replicate the issue by changing to the process work dir and entering the command `bash .command.run`

 -- Check '.nextflow.log' file for details
Execution cancelled -- Finishing pending tasks before exit

[remote detached from 2623.testFusionReporter]
@matq007 matq007 added the bug Something isn't working label Apr 6, 2019
@apeltzer
Copy link
Member

apeltzer commented Apr 6, 2019

This looks fine now in my tests on dev 👍

@matq007 matq007 closed this as completed Apr 6, 2019
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