AdamaJava / adamajava

Other
14 stars 5 forks source link

add exception message to log file #286

Closed ChristinaXu2017 closed 2 years ago

ChristinaXu2017 commented 2 years ago

Description

When org.qcmg.qmule.bam.QSamToFastq throws an exception, it only outputs to std but not log file. Here we make minor improve on QSamToFastq:

  1. output exception message to log file and return exit status code "1".
  2. check SECOND_END_FASTQ before rescuing the record which is missing the pair.
  3. update unit test and delete default log file created during unit tests.

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

unit test updated, also run on real data

Are WDL Updates Required?

not yet

Checklist: