You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CRAM support added w/samtools. Multithreaded computation is added for samtools. CRAM for sambamba is disabled as there is a sambamba bug when reading CRAMs.
myInputFormat="sam"; //will try to use existing sambamba
317
-
cout << "..sambamba should be installed to be able to read BAM files; will use the following command for sambamba: "<<pathToSambamba_ + " view -t " + SambambaThreads_ + "" + mateFileName << "\n";
318
+
//cout << "..sambamba should be installed to be able to read BAM files; will use the following command for sambamba: "<<pathToSambamba_ + " view -t " + SambambaThreads_ + " " + mateFileName << "\n";
319
+
cout << "..sambamba should be installed to be able to read BAM files; will use the following command for sambamba: "<< command << "\n";
myInputFormat="sam"; //will try to use existing samtools
323
-
cout << "..samtools should be installed to be able to read BAM files; will use the following command for samtools: "<<pathToSamtools_ + " view "+mateFileName<<"\n";
325
+
//cout << "..samtools should be installed to be able to read BAM files; will use the following command for samtools: "<<pathToSamtools_ + " view "+mateFileName<<"\n";
326
+
cout << "..samtools should be installed to be able to read BAM files; will use the following command for samtools: "<< command <<"\n";
myInputFormat="sam"; //will try to use existing sambamba
343
+
// cout << "..sambamba should be installed to be able to read BAM files; will use the following command for sambamba: "<<pathToSambamba_ + " view -t " + SambambaThreads_ + " " + mateFileName << "\n";
344
+
cout << "..sambamba should be installed to be able to read CRAM files; will use the following command for sambamba: "<< command << "\n";
myInputFormat="sam"; //will try to use existing samtools
351
+
//cout << "..samtools should be installed to be able to read CRAM files; will use the following command for samtools: "<<pathToSamtools_ + " view "+mateFileName<<"\n";
352
+
cout << "..samtools should be installed to be able to read CRAM files; will use the following command for samtools: "<< command << "\n";
353
+
}
354
+
}
325
355
}
326
356
else {
327
357
command = "gzip -cd "+mateFileName;
328
358
}
329
359
330
360
inputFormat = getInputFormat(myInputFormat);
361
+
331
362
stream =
332
363
#if defined(_WIN32)
333
364
_popen(command.c_str(), "r");
@@ -4261,8 +4292,13 @@ int GenomeCopyNumber::focusOnCapture (std::string const& captureFile) {
0 commit comments