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

InvalidParameterError: provided annotation file has no annotation information #214

Open
sacdallago opened this issue Apr 2, 2019 · 3 comments

Comments

@sacdallago
Copy link
Member

Traceback (most recent call last):
  File "/n/groups/marks/software/anaconda_o2/envs/evcouplings_backend_develop/lib/python3.5/site-packages/evcouplings/utils/pipeline.py", line 389, in execute_wrapped
    outcfg = execute(**config)
  File "/n/groups/marks/software/anaconda_o2/envs/evcouplings_backend_develop/lib/python3.5/site-packages/evcouplings/utils/pipeline.py", line 185, in execute
    outcfg = runner(**incfg)
  File "/n/groups/marks/software/anaconda_o2/envs/evcouplings_backend_develop/lib/python3.5/site-packages/evcouplings/complex/protocol.py", line 576, in run
    return PROTOCOLS[kwargs["protocol"]](**kwargs)
  File "/n/groups/marks/software/anaconda_o2/envs/evcouplings_backend_develop/lib/python3.5/site-packages/evcouplings/complex/protocol.py", line 454, in best_hit
    kwargs["paralog_identity_threshold"]
  File "/n/groups/marks/software/anaconda_o2/envs/evcouplings_backend_develop/lib/python3.5/site-packages/evcouplings/complex/protocol.py", line 427, in _load_monomer_info
    annotation_table = read_species_annotation_table(annotations_file)
  File "/n/groups/marks/software/anaconda_o2/envs/evcouplings_backend_develop/lib/python3.5/site-packages/evcouplings/complex/similarity.py", line 61, in read_species_annotation_table
    annotation_file
evcouplings.utils.config.InvalidParameterError: provided annotation file 7a74f5bd34b11f505e287d1fd767fbf9/align_1/7a74f5bd34b11f505e287d1fd767fbf9_annotation.csv has no annotation information

One job failed with this error:
/n/groups/marks/web/backend/runs/7a74f5bd34b11f505e287d1fd767fbf9

@sacdallago sacdallago changed the title [COMPLEX] evcouplings.utils.config.InvalidParameterError: provided annotation file 7a74f5bd34b11f505e287d1fd767fbf9/align_1/7a74f5bd34b11f505e287d1fd767fbf9_annotation.csv has no annotation information evcouplings.utils.config.InvalidParameterError: provided annotation file 7a74f5bd34b11f505e287d1fd767fbf9/align_1/7a74f5bd34b11f505e287d1fd767fbf9_annotation.csv has no annotation information Apr 2, 2019
@aggreen
Copy link
Contributor

aggreen commented Apr 2, 2019

This is not a bug, it's an error message I put in deliberately to flag when the user's annotation file doesn't have any annotation information. I'm guessing either they aligned against a weird database, uploaded their own alignment and didn't provide any annotation information, or they aligned against uniref/uniprot and didn't find any hits. We may want to think of better ways to communicate this to the user, but ultimately their job has failed because their sequences had no species information that could extract.

@aggreen aggreen removed the bug label Apr 2, 2019
@sacdallago
Copy link
Member Author

Ok.

Thy aligned against uniref100 using the pipeline (upload of alignments is not yet possible), so most likely the second case (didn't find any hits). I tried to blast one of the two sequences and indeed I got very ridiculous hits. So this is an accepted failure? Think it would qualify as something to add to the FAQ on the website...

config.txt
fasta.txt

@sacdallago
Copy link
Member Author

P.S.: Yes, maybe a more explicative error message in the pipeline would be great?

@sacdallago sacdallago changed the title evcouplings.utils.config.InvalidParameterError: provided annotation file 7a74f5bd34b11f505e287d1fd767fbf9/align_1/7a74f5bd34b11f505e287d1fd767fbf9_annotation.csv has no annotation information InvalidParameterError: provided annotation file has no annotation information Jun 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants