@@ -139,7 +139,7 @@ public QSVPipeline(Options options, String resultsDir, Date analysisDate, String
139139 }
140140
141141 if (options .isQCMG ()) {
142- writeDCCHeader (options , analysisDate , analysisId , exec );
142+ writeDCCHeader (options , analysisId , exec );
143143 }
144144
145145 File countFile = new File (resultsDir + FILE_SEPARATOR + options .getSampleName ()+ "_sv_counts.txt" );
@@ -152,11 +152,11 @@ public QSVPipeline(Options options, String resultsDir, Date analysisDate, String
152152
153153 }
154154
155- private void writeDCCHeader (Options options , Date analysisDate , String analysisId , QExec exec ) throws IOException {
156- new DCCReport (new File (resultsDir + FILE_SEPARATOR + options .getSampleName () + ".somatic.dcc" ), analysisDate , analysisId , tumor , normal , options , exec );
155+ private void writeDCCHeader (Options options , String analysisId , QExec exec ) throws IOException {
156+ new DCCReport (new File (resultsDir + FILE_SEPARATOR + options .getSampleName () + ".somatic.dcc" ), analysisId , tumor , normal , options , exec );
157157 if (options .isTwoFileMode ()) {
158- new DCCReport (new File (resultsDir + FILE_SEPARATOR + options .getSampleName () + ".germline.dcc" ), analysisDate , analysisId , tumor , normal , options , exec );
159- new DCCReport (new File (resultsDir + FILE_SEPARATOR + options .getSampleName () + ".normal-germline.dcc" ), analysisDate , analysisId , tumor , normal , options , exec );
158+ new DCCReport (new File (resultsDir + FILE_SEPARATOR + options .getSampleName () + ".germline.dcc" ), analysisId , tumor , normal , options , exec );
159+ new DCCReport (new File (resultsDir + FILE_SEPARATOR + options .getSampleName () + ".normal-germline.dcc" ), analysisId , tumor , normal , options , exec );
160160 }
161161 }
162162
@@ -383,11 +383,11 @@ public void annotateAndFilterBams() throws Exception {
383383 CountDownLatch countDownLatch = new CountDownLatch (getThreadNo ());
384384
385385 if (options .isTwoFileMode ()) {
386- AnnotateFilterMT normalWorker = new AnnotateFilterMT (Thread . currentThread (), countDownLatch , normal , exitStatus , softclipDir , options );
386+ AnnotateFilterMT normalWorker = new AnnotateFilterMT (countDownLatch , normal , exitStatus , softclipDir , options );
387387 executorService .execute (normalWorker );
388388 }
389389
390- AnnotateFilterMT tumorWorker = new AnnotateFilterMT (Thread . currentThread (), countDownLatch , tumor , exitStatus , softclipDir , options );
390+ AnnotateFilterMT tumorWorker = new AnnotateFilterMT (countDownLatch , tumor , exitStatus , softclipDir , options );
391391 executorService .execute (tumorWorker );
392392
393393 executorService .shutdown ();
0 commit comments