CongLabCode / DPAM

A domain parser for Alphafold models
29 stars 7 forks source link

step 21 fails #14

Open geshtin opened 5 months ago

geshtin commented 5 months ago

hi, I get the following error: rm: cannot remove 'sw5b_step24.log': No such file or directory Traceback (most recent call last): File "/opt/DPAM/scripts/step22_mergedomains.py", line 28, in fp = open('step21' + dataset + '.result', 'r') FileNotFoundError: [Errno 2] No such file or directory: 'step21_sw5b.result' Error in step22 But it seems 21 already fails as the file is missing.

I call dpam using: apptainer exec --fakeroot -e --bind ${DB_dir}:/mnt/databases:ro \ --bind ${Input_dir}:${ContainerOutput_dir}:rw \ /opt/kgtools/images/dpam/latest/dpam.sif \ /bin/bash -c "cd ${ContainerOutput_dir}; run_dpam.py ${Dataset} ${Threads} --log_file ${log_file}" 2>&1 | tee ${log_file}

the "--log_file ${log_file}" does not work (that is to say: many files but all say "done", except for step4 (step4_sw5b_75tcm94x.log), but since the program continues I added: 2>&1 | tee ${log_file} to capture more data I could send it, but it is quite large (35Mb)

Do you have some suggestions, or need more input (I will be happy to provide) regards Raymond