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

error using decoy_database with hmmsearch+diamond #267

Open
yboesch opened this issue Jun 19, 2020 · 0 comments
Open

error using decoy_database with hmmsearch+diamond #267

yboesch opened this issue Jun 19, 2020 · 0 comments

Comments

@yboesch
Copy link

yboesch commented Jun 19, 2020

Hi,
I am using your search tool in my research, thank you.
I encountered an error during executing the following command.

graftM graft --graftm_package /path/to/package --forward path/to/metagenome.fastq --evalue 1e-6 --resolve_placements --output_directory "DATA_OUT" --decoy_database /path/to/decoy.dmnd --search_method hmmsearch+diamond

The program aborts with an error.

Traceback (most recent call last):
  File "/opt/sw/graftm/0.13.1/bin/graftM", line 415, in <module>
    Run(args).main()
  File "/opt/sw/graftm/0.13.1/lib/python3.7/site-packages/graftm/run.py", line 613, in main
    self.graft()
  File "/opt/sw/graftm/0.13.1/lib/python3.7/site-packages/graftm/run.py", line 388, in graft
    diamond_db
  File "/opt/sw/graftm/0.13.1/lib/python3.7/site-packages/graftm/timeit.py", line 10, in timed
    result = method(*args, **kw)
  File "/opt/sw/graftm/0.13.1/lib/python3.7/site-packages/graftm/sequence_searcher.py", line 849, in aa_db_search
    output_search_file,
UnboundLocalError: local variable 'output_search_file' referenced before assignment

If I run the code with search method diamond it seems to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant