diamond icon indicating copy to clipboard operation
diamond copied to clipboard

Computing alignments... No such file or directory

Open mengxin-mx-cpu opened this issue 5 years ago • 2 comments

when I run braker2,In this section it breaks.I see the log,The command is:

/kasuza/example/braker/diamond blastp --db /kasuza/example/braker/traingenes.good.fa.nonreddb --outfmt 0 --query /kasuza/example/braker/traingenes.good.fa.nonreddb --threads 48 --out /kasuza/example/braker/traingenes.good.fa.blastout

Then I perform alone,It return error,I am not sure is the diamond's problem or not,but it seems to it's problem,I have tried the version 0.9.24 and diamond v2.0.5.143 (C). can you help me.

Processing query block 1, reference block 1/1, shape 2/2, index chunk 4/4. Building reference seed array... [0.007s] Building query seed array... [0.007s] Computing hash join... [0.002s] Building seed filter... [0.005s] Searching alignments... [0.002s] Deallocating buffers... [0s] Clearing query masking... [0s] Computing alignments... No such file or directory terminate called after throwing an instance of 'File_read_exception' what(): Error reading file /kasuza/example/braker/diamond-tmp-DzkIVZ Aborted

mengxin-mx-cpu avatar Dec 08 '20 14:12 mengxin-mx-cpu

Please try the option --no-unlink and see if that fixes your problem.

bbuchfink avatar Dec 08 '20 14:12 bbuchfink

It fixes my problem,Thanks a lot. I have to modify the "/opt/augustus-3.3.3/scripts/aa2nonred.pl" and add option --no-unlink

$cmdString = "$DIAMOND_PATH/diamond blastp --db $tempdbname --outfmt 0 --query $tempdbname --out $tempoutfile --no-unlink";

mengxin-mx-cpu avatar Dec 09 '20 01:12 mengxin-mx-cpu