Genome Analysis Toolkit

Variant Discovery in High-Throughput Sequencing Data

GATK process banner

Need Help?

Search our documentation

Community Forum

Hi, How can we help?

Developed in the Data Sciences Platform at the Broad Institute, the toolkit offers a wide variety of tools with a primary focus on variant discovery and genotyping. Its powerful processing engine and high-performance computing features make it capable of taking on projects of any size. Learn more

Problem running GenomeSTRiP CNVDiscovery on X chromosome

0

5 comments

  • Avatar
    Bhanu Gandham

    Hi Laura Cottino

     

    Thank you for your question! I am tagging Bob Handsaker in this thread and he should be able to help out with this. Thanks in advance Bob!

    0
    Comment actions Permalink
  • Avatar
    Bob Handsaker

    As you probably know, you can run Queue multiple times with the same command line and it will retry any jobs that previously failed. This allows you to work around transient problems (disk timeout, hung node, etc.).

    When you rerun, does Queue retry the jobs?  Does Queue report that some jobs are still failing?  Do some jobs succeed when you retry?

     

    0
    Comment actions Permalink
  • Avatar
    Laura Cottino

    We have resumed it and it take some time (over 12 hours) to fail again. When we look at the output files it seems as if it is the same jobs that are failing. 

    0
    Comment actions Permalink
  • Avatar
    Bob Handsaker

    You'll have to provide more information for me to be able to help. You said it seemed as if the same jobs were failing. Presumably k jobs were retried - how many succeeded and how many failed?  Were there error message in the log files from the failed jobs?

    If you are getting no error messages in the log files and yet Queue thinks the jobs failed, that is probably some interaction with the job scheduler (e.g. maybe the job scheduler has lost the job status).

    Something you may be able to use to help debug is the -jobWrapperScript path/to/script.sh option. This script is "wrapped" around each command that is run. So you could use a wrapper like this for example:

    #!/bin/bash                                                                                                                     
    echo "Wrapped command: ${@}"
    "${@}" 2>&1
    status=$?
    if [ $status != 0 ]; then echo "Command failed: $status"; exit $status; fi
    echo "Command completed successfully."
    0
    Comment actions Permalink
  • Avatar
    Bob Handsaker

    If you can be sure that the commands succeeded, it is also possible to manually touch the .*.done files Queue uses for job tracking and then Queue will believe these jobs ran successfully on the next retry.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk