Hi,
Daria.Bunina <
Daria....@mdc-berlin.de> writes:
> I did guix pull when installing pigx, and I also tried it again now
> and ran the workflow immediately after, still the same issue.
OK.
> Also, running
>
> guix show pigx-rnaseq
>
> gives the version 0.1.0.
Okay, this tells you that you have a decently recent version of Guix
that is in fact used. It tells you that you can get this version of
“pigx-rnaseq” if you chose to install it. It does not tell you,
however, whether this is in fact the version you have installed. More
on that later.
> Do you have an idea why it pulls out some old
> pigx version and from where?
Your script does the sensible thing of setting environment variables
according to what your Guix profile needs:
GUIX_PROFILE="/home/$USER/.guix-profile"
. "$GUIX_PROFILE/etc/profile"
Personally, I’d use “$HOME” instead of “/home/$USER”, because the home
directory might actually be located elsewhere or be mapped to a
different location. I don’t think this is the problem here, though.
I note that your script launches the rnaseq pipeline like this:
pigx rnaseq
This means that you’re using the “pigx” package, which provides the
“pigx” executable with a bunch of sub-commands for the individual
pipelines, such as “rnaseq” or “bsseq”.
Let’s see what packages you actually installed to your profile. You can
view installed packages with “guix package --list-installed” or “guix
package -I” for short. My guess is that this will show you that the
“pigx” package has been installed.
With “guix package -l” we can see how your profile has changed over
time, so we can tell *when* that package was installed.
My guess is that you have an old variant of the “pigx” package
installed. Please run “guix install pigx” (now that you are sure to
have a recent version of Guix after “guix pull”), which will install the
“pigx” package and all its dependencies with the current version of
Guix, thereby giving you a new version not just of the wrapper itself
but all of the new pipelines, too.
If you don’t actually care about any of the other pipelines, you can
also use just the rnaseq pipeline. To do that:
guix package --remove=pigx --install=pigx-rnaseq
The only change to your script would be to call “pigx-rnaseq” directly
instead of “pigx rnaseq”.
> Shall I try to remove guix
> completely somehow and install it again?
No. Guix is deterministic and (largely) free of stateful behavior, so
this would not accomplish anything. That’s by design.
--
Ricardo