What does exit status 16 mean?
See original GitHub issueGermline deep variant 0.8.0. I have verified that the input mapping, the bed file, and the ref genome are all based on the same reference. The same script was used for several other samples and they completed without errors.
I1030 18:44:39.325231 140247813654272 make_examples.py:1164] Writing MakeExamplesRunInfo to /tmp/deepvariant_tmp_output/make_examples.tfrecord-00063-of-00064.gz.run_info.pbtxt
I1030 18:44:39.367234 140247813654272 make_examples.py:1167] Found 484 candidate variants
I1030 18:44:39.367513 140247813654272 make_examples.py:1168] Created 496 examples
real 5m38.670s
user 85m59.188s
sys 1m53.684s
Traceback (most recent call last):
File "/opt/deepvariant/bin/run_deepvariant.py", line 235, in <module>
app.run(main)
File "/usr/local/lib/python2.7/dist-packages/absl/app.py", line 300, in run
_run_main(main, args)
File "/usr/local/lib/python2.7/dist-packages/absl/app.py", line 251, in _run_main
sys.exit(main(argv))
File "/opt/deepvariant/bin/run_deepvariant.py", line 215, in main
subprocess.check_call(command, shell=True, executable='/bin/bash')
File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'time seq 0 63 | parallel -k --line-buffer /opt/deepvariant/bin/make_examples --mode calling --ref "ref.fa" --reads "input.bam" --examples "/tmp/deepvariant_tmp_output/make_examples.tfrecord@64.gz" --regions "regions.bed" --gvcf "/tmp/deepvariant_tmp_output/gvcf.tfrecord@64.gz" --task {}' returned non-zero exit status 16
Issue Analytics
- State:
- Created 4 years ago
- Comments:8
Top Results From Across the Web
Exit status - Wikipedia
The exit status of a process in computer programming is a small number passed from a child process (or callee) to a parent...
Read more >execute process task error; exit code was 16 expected was 0
A return code of 16 suggest you have permissions issues. This correlates with the experience you found using the File System Task, and...
Read more >Standard Exit Status Codes in Linux - Baeldung
In Linux, when a process is terminated, it returns an exit code. Upon successful execution, this code is equal to zero. Any non-zero...
Read more >Appendix E. Exit Codes With Special Meanings
According to the above table, exit codes 1 - 2, 126 - 165, and 255 [1] have special meanings, and should therefore be...
Read more >Bash command line exit codes demystified | Enable Sysadmin
An exit code is a system response that reports success, an error, or another condition that provides a clue about what caused an...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @bopohdr Thank you, the log is helpful. From the error, specifically this line:
It looks like maybe your BAM file doesn’t have a corresponding *.bai file. Can you double check that your input BAM file has a correct *.bai file associated with it? Usually, if you have a BAM file named
foo.bam
, there should be a correspondingfoo.bam.bai
orfoo.bai
in the same directory.If it doesn’t exist, please run:
samtools index foo.bam
to generate an index file before you proceed.Let me know if this resolves your issue. Thank you!
Hi @sclan to give you an update, I made an internal fix to make sure run_deepvariant.py can output more clear errors when they occur. The new code is not on GitHub yet, but will come out in the next release.
Specifically, I changed the main function to be: