-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
minimap commands in the auto-generated draft_comp.sh file resulting in usage errors #27
Comments
I modified the following lines in
.... to include echo statments to see what Minimap2 command is being run.
The resulting
I can confirm that those variables are not in the environment so the Minimap2 commands look like this:
I tried sourcing the To get past this problem, I had to create an entirely new file that has the
That is now working, and the first minimap2 command looks like this (from the echo statements I added):
So that leaves me scratching my head. Was there any guidance in the manual about this? If so, I apologize. If not, has anyone ever ran this pipeline successfully? Perhaps people just generally default to the step-by-step method? Another question might be - should this actually be the code for Current code looks like this:
Should it look like this:
Seems to me that might give the output you intended. Otherwise, I will have to assume those variables should have been exported in the global env already (e.g. via sourcing a file similar to draft_names_paths.txt but with export commands). If so, then it ought to be explicitly stated in the guidance on running Gala. Otherwise still, perhaps there is a python line (that I haven't yet identified though I've looked) that is supposed to automatically export those variable names to the global environment. Best, John |
Hi John! Same here. Minimizing interactions with the source code, I used the following workaround before running the minimap part:
I am running it step by step (because there is apparently quite some debugging to do and not much support from the dev) and am not in the end yet, but I guess this way the issue will be resolved in the single-command version too. I saw nice things done with this pipeline by the author, so let's brace ourselves and see what comes out! :) Cheers, |
Check out my fork if you get a chance. I fixed up the python and added a lot of options. Best, John |
Hi,
Thanks for the interesting tool. The very first Minimap2 step in the Gala pipeline is throwing usage errors.
This is what my drafts file essentially looks like (paths shortened for simpler appearance here):
As part of the pipeline, it auto-generates the
draft_comp.sh
file, which looks like this:Since Minimap2 is throwing the usage errors, my gut feeling it that the pipeline intends to export the variables draft_01 ... draft_04 (with the values being the FILE_PATHs associated with them) into the user's environment outside of Python, but that its not working. Otherwise, I'd assume Gala would want to write
draft_comp.sh
with the paths to those files rather than variable names like "$draft_01". Either way, something is not working correctly.Any advice is appreciated.
Best,
John
The text was updated successfully, but these errors were encountered: