Closed rcorces closed 4 years ago
Ok, a few fundamental things that may help:
df
that's in your PATH. So, type which df
before and after mounting the crate. Once you've mounted the crate, you'd be using a containerized df
command. That explains why the df
command shows something different -- it's running in a container.try this. Run:
cat `which df`
and
cat `which skewer`
There you will see which volumes your container is actually mounting. If you adjust the VOLUMES
in your bulker config, you'd need to re-load all the manifests to update the actual bulker containerized executables.
After you activate the crate, can you ls /corces/home/shared/pipelines/pepatac
?
Another thing to test is to activate the crate, then type _skewer
. This puts you interactively directly inside the container that will run skewer
. Can you find the NexteraPE-PE.fa file in there?
ok I think what will fix the issue for you: in your bulker config, don't mount $HOME, but instead mount '/corces/home'. Then, re-run bulker load databio/pepatac
. Then, try again.
If you adjust the VOLUMES in your bulker config, you'd need to re-load all the manifests to update the actual bulker containerized executables.
This was the key piece I was missing. I'm your perfect naive end-user and I was assuming that the config file was applied at the time of crate activation. So I was changing the volumes
entries but not rerunning bulker load
. Everything with df
was just a red-herring as you said.
In retrospect, this of course makes sense. I probably would have caught this if it were stated in the "Terminology" section of the tutorial or in the "Loading Crates" section.
So a few follow up comments.
awk
which is part of a different crate, then awk
does not have access to the correct volumes
. This does sound reasonable (i understand why you might want/need this to be the case) but not necessarily intuitive. A reasonable alternative would be to automatically re-load all dependency crates but I have no idea if that really makes sense.I have separate issues that I think are specific to the pepatac bulker crate but I'll post those to the githun repo for pepatac
Your first point is Issue #61. You're right, it should be easier to recurse. Your second point I've raised a new issue, #68. You're right, there should be a way to remove them.
FYI, these improvements are now implemented and will be released with bulker version 0.7.0 today
I'm trying to get pepatac up and running inside a container on my new lab servers. So much has changed since I last checked in! This whole ecosystem is amazing!
I'm having an issue with pepatac where skewer fails to access the NexteraPE-PE.fa file but I'm posting here because I think this is an issue with how my volumes are (inadequately) set up in bulker. I think this because I can run the exact same command outside of the crate and it works fine (using a local copy of skewer).
After I activate my bulker crate, my volumes look like this:
outside of my bulker crate, my volumes look like this:
The pepatac code and the skewer NexteraPE-PE.fa file are located on
/corces/home/shared/pipelines/pepatac
My interpretation of the
df
command from within bulker is that only my$HOME
directory (/corces/home/rcorces
) has been properly mounted and this might be what is causing the issues? I've tried updating thevolumes
section of myBULKERCFG
file but no matter how I change thevolumes
section, those changes dont seem to have any effect on the output ofdf
from within the crate. I have a feeling that I'm missing something fundamental. Any help would be greatly appreciated!