Skip to content
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

'SNAPCommand exit' doesn't when previous job killed. #90

Open
taltman opened this issue May 22, 2017 · 0 comments
Open

'SNAPCommand exit' doesn't when previous job killed. #90

taltman opened this issue May 22, 2017 · 0 comments

Comments

@taltman
Copy link

taltman commented May 22, 2017

Following Bill's advice on #83, I tried setting up my scripts to use the snap-aligner daemon.

Launching the daemon works, as does sending it jobs using the SNAPCommand app, but sending it the 'exit' command after a job is killed doesn't make the program exit. Instead, the daemon persists and the SNAPCommand app hangs, and I have to kill that SNAPCommand command too, and then manually kill the daemon.

$ snap-aligner daemon &                                                                                                                                                                                                                                  
[1] 49320                                                                                                                                                                                                                                                                                        
$ Welcome to SNAP version 1.0beta.23.                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                 
SNAP in daemon mode, waiting for commands to execute                                                                                                                                                                                                                                             
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
$ SNAPCommand single snap-db unpaired-reads-no-host.fastq.gz -o test.bam                                                                                                                       
                                                                                                                                                          
Executing command: single snap-db unpaired-reads-no-host.fastq.gz -o test.bam                                                                                                                                                          
Loading index from directory... Loading index from directory...   C-c C-c^C                                                                                                                                                                                                                      
$                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                 
$ SNAPCommand exit                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
  C-c C-c^C  
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant