-
Notifications
You must be signed in to change notification settings - Fork 23
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
deepbinner realtime does not quit after sleep 5 #18
Comments
Hi,
to look like this:
This lets me use deepbinner as part of a CWL-Workflow. Note that doing this will make the script useless for the intended "realtime" application where seqencing is still taking place during the execution of deepbinner. Hope it helps! |
Hi, Is there a simple way around this without altering the At the moment I am thinking about basecalling first and then running |
Thank you @ttubb - your fix worked for me when I was having a similar issue. |
Hi,
I hope this has an obvious answer.
I cannot figure out how to get deepbinner to exit its "waiting for new files" mode to continue a bash script/job that I submit to a HPC.
I transfer fast5 files in bulk (not real time) to a HPC and want to run deepbinner -> albacore -> porechop (trim only).
So for fast5 / non basecalled reads
deepbinner realtime
is the correct approach, right?Following @rrwick examples (thank you so much for your generosity) i do
where the variables
fast5dirs
is an array of foldernames andNPROCS
is number of processesand from here let albacore cycle though the barcodeXX folders in the demultiplexed_fast5s folder.
In @rrwick s examples a Ctrl+C is needed from the user to end the deepbinner realtime program. But I cannot figure out how to get this into my bash script.
It might be something with the commands
trap break INT (https://www.unix.com/shell-programming-and-scripting/147781-doing-tail-script-then-return-back-continue-script.html)
and then perhaps sending a SIGINT ? However I am not at a skill level to get this to work.
Has anyone else got a solution working?
Edits: correct display of code block.
The text was updated successfully, but these errors were encountered: