Skip to content

ValueError: Empty results file; perhaps invalid query #11

@sunwanying21

Description

@sunwanying21

Hello,

I run this command and get these errors. Could you please help me to figure it out? Thanks a lot.

command:
synthaser search -qf a_sixpack_rename.fa -o a_cdd.out --evalue 0.01

errors:
`Traceback (most recent call last):
File "/home/sunwanying/.local/lib/python3.8/site-packages/synthaser/search.py", line 123, in search
with open(results_file) as rf:
TypeError: expected str, bytes or os.PathLike object, not NoneType

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/sunwanying/.local/lib/python3.8/site-packages/synthaser/main.py", line 65, in synthaser
synthases = search.search(
File "/home/sunwanying/.local/lib/python3.8/site-packages/synthaser/search.py", line 134, in search
handle = _remote(
File "/home/sunwanying/.local/lib/python3.8/site-packages/synthaser/search.py", line 169, in _remote
response = ncbi.retrieve(cdsid, delay=delay, max_retries=max_retries)
File "/home/sunwanying/.local/lib/python3.8/site-packages/synthaser/ncbi.py", line 202, in retrieve
finished = check(cdsid)
File "/home/sunwanying/.local/lib/python3.8/site-packages/synthaser/ncbi.py", line 112, in check
raise ValueError("Empty results file; perhaps invalid query?")
ValueError: Empty results file; perhaps invalid query?`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions