Skip to content

KRAKENUNIQ_BUILD is deleting the symlinked inputs when keep_intermediates is false. #11557

@mahesh-panchal

Description

@mahesh-panchal

Have you checked the docs?

Description of the bug

KRAKENUNIQ_BUILD has the following code

    custom_db = custom_library_dir ? "mkdir ${prefix} && mv library taxonomy ${custom_seqid2taxid} ${prefix}" : ""
    run_cleanup = keep_intermediate ? "" : "find -L ${prefix} -type f -not -name \"*.kdb\" -type f -not -name \"*idx\" -not -name \"taxDB\" -not -name \"*.counts\" -delete"

The input folders are moved to the prefix folder, and then files within them are deleted which is deleting my input files.

Command used and terminal output

Relevant files

No response

System information

No response

Metadata

Metadata

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