+
Skip to content

blast/blastdbcmd fails with big databases #9179

@leapicard

Description

@leapicard

Have you checked the docs?

Description of the bug

The $DB variable is constructed in the module through:

DB=`find -L ./ -name "*.nhr" | sed 's/\\.nhr\$//'`
    if test -z "\$DB"
    then
        DB=`find -L ./ -name "*.phr" | sed 's/\\.phr\$//'`
    fi

However, with big databases, the files are appended with a number (database.fna.1.nhr, database.fna.2.nhr, database.fna.n.nhr).

When passing a big database (such as core_nt) to blastdbcmd, it then produces the following error with big databases:
Error: Too many positional arguments (1)

I fixed it internally to my pipeline but it should probably be corrected at the module level as well.

Command used and terminal output

Relevant files

No response

System information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载