Closed zengtian2680 closed 2 years ago
Hi Tian!
Thanks for getting in touch.
I'll look at this a bit more tomorrow (Its a bit late over here), but it looks like you might have downloaded the "slow_sequential" version of SignalP6.
Note the line raise FileNotFoundError(f"Fast mode requires model to be installed at {FAST_MODEL_PATH}. Missing from this installation.")
.
SignalP6 has a few different model options.
We need the "fast" version.
I'll try tomorrow to see if I can reproduce the issue and update the FAQ accordingly.
Hope that fixes it for you though :)
Hey Darcy, Thanks a lot for your quick response! Yes sure it's not in a rush so take your time. I did double check and I am sure that I got the fast version of signalP6. However I got the signalP 6.0b instead of signalP 6.0. Not sure whether that's the problem but signalP 6.0 seems not available anymore. Best, Tian
Hey Tian,
Good eye! I didn't spot the extra 'b' there. Thanks again for reporting the issue, I hadn't spotted the version change and it does cause a few breaks.
So the problem was that the new version kept the model files separately to the actual python package installed by pip
, meaning that we needed to copy the model files in ourselves.
Previously they had it set to what I would think of as the "correct" way, where they include it as package_data
and pip
would install the data in the right place alongside the package.
The updated conda recipe should handle both cases, so it should be a bit more robust to this kind of issue.
There was also a minor change to the output format that caused my parsing script to crash.
Anyway, this should hopefully be resolved in 1.2.2
.
Let me know how you go :)
Just FYI.
I've release 1.2.3 because they've updated SP6 again in the last few hours. It's in response to an issue I reported, and shouldn't affect you at all.
Essentially 1.2.2 and 1.2.3 are identical, except for references to SP 6.0c
Hey Darcy,
Thanks a lot! I will try 1.2.3 later on my computer :)
Tian
Hey @zengtian2680
Haven't heard back so I'm assuming this is resolved? Closing this issue now, but if you're still having trouble please feel free to re-raise it or start a new issue :)
Thanks again! Darcy
Dear authors,
I am trying to install predector docker according to your introduction. However it turned out to be an error despite long struggle. Sorry that I hardly understand what was the reason so I paste my error message here for some help... Please see below. I am using Mac OS Monterey 12.0.1
Thank you. Tian
Error message [+] Building 28.6s (16/16) FINISHED => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 1.27kB 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load metadata for docker.io/predector/predector-base:1.2.1 1.4s => [auth] predector/predector-base:pull token for registry-1.docker.io 0.0s => [ 1/11] FROM docker.io/predector/predector-base:1.2.1@sha256:ed9ea0a4 0.0s => [internal] load build context 0.0s => => transferring context: 3.71kB 0.0s => CACHED [ 2/11] RUN mkdir -p /tmp/onbuild 0.0s => CACHED [ 3/11] COPY signalp-3.0.Linux.tar.Z /tmp/onbuild/ 0.0s => CACHED [ 4/11] COPY signalp-4.1g.Linux.tar.gz /tmp/onbuild/ 0.0s => CACHED [ 5/11] COPY signalp-5.0b.Linux.tar.gz /tmp/onbuild/ 0.0s => CACHED [ 6/11] COPY signalp-6.0b.fast.tar.gz /tmp/onbuild/ 0.0s => CACHED [ 7/11] COPY targetp-2.0.Linux.tar.gz /tmp/onbuild/ 0.0s => CACHED [ 8/11] COPY deeploc-1.0.All.tar.gz /tmp/onbuild/ 0.0s => CACHED [ 9/11] COPY phobius101_linux.tar.gz /tmp/onbuild/ 0.0s => CACHED [10/11] COPY tmhmm-2.0c.Linux.tar.gz /tmp/onbuild/ 0.0s => ERROR [11/11] RUN echo && signalp3-register "/tmp/onbuild/$(basenam 27.1s