looks better now.

This commit is contained in:
Mauricio Carneiro 2011-07-14 17:10:44 -04:00
parent 09ffe277ae
commit 43c6a8565b
1 changed files with 0 additions and 2 deletions

View File

@ -37,7 +37,6 @@ object Utils {
/** /**
* Returns the number of contigs in the BAM file header. * Returns the number of contigs in the BAM file header.
*/ */
def getNumberOfContigs(bamFile: File): Int = { def getNumberOfContigs(bamFile: File): Int = {
val samReader = new SAMFileReader(new File(bamFile)) val samReader = new SAMFileReader(new File(bamFile))
samReader.getFileHeader.getSequenceDictionary.getSequences.size() samReader.getFileHeader.getSequenceDictionary.getSequences.size()
@ -46,7 +45,6 @@ object Utils {
/** /**
* Check if there are multiple samples in a BAM file * Check if there are multiple samples in a BAM file
*/ */
def hasMultipleSamples(readGroups: java.util.List[SAMReadGroupRecord]): Boolean = { def hasMultipleSamples(readGroups: java.util.List[SAMReadGroupRecord]): Boolean = {
var sample: String = "" var sample: String = ""
for (r <- readGroups) { for (r <- readGroups) {