Plasmer icon indicating copy to clipboard operation
Plasmer copied to clipboard

dockerrun_batch.sh

Open Xian220 opened this issue 1 year ago • 5 comments

(docker) test@jsy:/media/test/JSY_SRT2021/LTJ/P$ bash dockerrun_batch.sh /input/files/media/test/JSY_SRT2021/LTJ/P/cs2 /output/files/media/test/JSY_SRT2021/LTJ/P/cs2 /database/media/test/JSY_SRT2021/PI 30 50 500000 bash: dockerrun_batch.sh: No such file or directory

Xian220 avatar Jun 03 '23 03:06 Xian220

Hi Xiao220,

Thank you for reaching out!

The error you're encountering often indicates that the dockerrun_batch.sh script cannot be found in your current directory. To ensure you have this file, you can download it directly from our GitHub repository using this command:

wget https://github.com/nekokoe/Plasmer/raw/main/dockerrun_batch.sh

Remember, this script needs to be in the same directory where you're trying to run the command.

Additionally, it seems there might be a misunderstanding regarding the usage of dockerrun_batch.sh. The first two arguments should be the input and output directories respectively.

Therefore, I suggest creating a new directory for your output files:

mkdir /media/test/JSY_SRT2021/LTJ/P/cs2/Plasmer-test

Then, try running the script with this command:

bash dockerrun_batch.sh /media/test/JSY_SRT2021/LTJ/P/cs2 /media/test/JSY_SRT2021/LTJ/P/cs2/Plasmer-test /media/test/JSY_SRT2021/PI 30 50 500000

This should process all files in the cs2 directory and output the results into the Plasmer-test directory.

Let us know if you need any further assistance!

iskoldt-X avatar Jun 03 '23 06:06 iskoldt-X

Thank you very much for your answer, I solved the problem.

But I found another problem, like the last one. Some output files are blank. Is this because it is not recognized? When I take a whole big file as input file, the output file is blank. When I split the large file into smaller files for input, some have results and some are still blank, and it has nothing to do with the file size. There is no pattern at all, and this is driving me crazy.

1 55a106d8cfc8e70ef5cff5cddaf8386 b0cbb33d392c0015b024d45f9031925

Xian220 avatar Jun 03 '23 13:06 Xian220

I tried the format of both input files and both report the same error. cbe814f86837ca978522632cad548eb 71cd79e9799f3b71ac80d3721e58778

Xian220 avatar Jun 03 '23 14:06 Xian220

Here is my code and the database I compared it to. b7d98b6328904f91acb5093d2fa468d 7c0794cf541915c3a261faea137b5dc

Xian220 avatar Jun 03 '23 14:06 Xian220

I tried again, some can run twenty contigs at once and produce results, while some can even only run one at a time to produce results. This is too torturous.

Xian220 avatar Jun 03 '23 15:06 Xian220