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

Bug in decoy creation #1

Closed
2 of 4 tasks
ypriverol opened this issue Jan 20, 2021 · 1 comment
Closed
2 of 4 tasks

Bug in decoy creation #1

ypriverol opened this issue Jan 20, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@ypriverol
Copy link
Member

ypriverol commented Jan 20, 2021

Check Documentation

I have checked the following places for your error:

Description of the bug

Steps to reproduce

Steps to reproduce the behaviour:

  1. Command line:
  2. See error:

Expected behaviour

Log files

Have you provided the following extra information/files:

  • The command used to run the pipeline
  • The .nextflow.log file

System

  • Hardware:
  • Executor:
  • OS:
  • Version

Nextflow Installation

  • Version:

Container engine

  • Engine:
  • version:
  • Image tag:

Additional context

Command output:
  (empty)

Command error:
  Traceback (most recent call last):
    File "/opt/conda/envs/nf-core-pgdb-1.0dev/bin/pypgatk_cli.py", line 48, in <module>
      main()
    File "/opt/conda/envs/nf-core-pgdb-1.0dev/bin/pypgatk_cli.py", line 44, in main
      cli()
    File "/opt/conda/envs/nf-core-pgdb-1.0dev/lib/python3.9/site-packages/click/core.py", line 829, in __call__
      return self.main(*args, **kwargs)
    File "/opt/conda/envs/nf-core-pgdb-1.0dev/lib/python3.9/site-packages/click/core.py", line 782, in main
      rv = self.invoke(ctx)
    File "/opt/conda/envs/nf-core-pgdb-1.0dev/lib/python3.9/site-packages/click/core.py", line 1259, in invoke
      return _process_result(sub_ctx.command.invoke(sub_ctx))
    File "/opt/conda/envs/nf-core-pgdb-1.0dev/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
      return ctx.invoke(self.callback, **ctx.params)
    File "/opt/conda/envs/nf-core-pgdb-1.0dev/lib/python3.9/site-packages/click/core.py", line 610, in invoke
      return callback(*args, **kwargs)
    File "/opt/conda/envs/nf-core-pgdb-1.0dev/lib/python3.9/site-packages/click/decorators.py", line 21, in new_func
      return f(get_current_context(), *args, **kwargs)
    File "/opt/conda/envs/nf-core-pgdb-1.0dev/lib/python3.9/site-packages/pypgatk/commands/proteindb_decoy.py", line 80, in generate_database
      proteindb_decoy.decoy_database()
    File "/opt/conda/envs/nf-core-pgdb-1.0dev/lib/python3.9/site-packages/pypgatk/proteomics/db/decoy_pyrat.py", line 233, in decoy_database
      fasta.close()
  AttributeError: 'FastaIterator' object has no attribute 'close'

Work dir:
  /Users/yperez/IdeaProjects/github-repo/BDP/nf-core-pgdb/work/19/d6ff3d5c551ee89fc0711ccf562903

Tip: view the complete command output by changing to the process work dir and entering the command `cat .command.out`
Failed to invoke `workflow.onComplete` event handler

 -- Check script 'main.nf' at line: 759 or see '.nextflow.log' file for more details
@ypriverol ypriverol added the bug Something isn't working label Jan 20, 2021
@ypriverol
Copy link
Member Author

ewels pushed a commit to ewels/nf-core-pgdb that referenced this issue Apr 15, 2021
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

1 participant