diff --git a/java/src/org/broadinstitute/sting/gatk/dataSources/simpleDataSources/SAMBAMDataSource.java b/java/src/org/broadinstitute/sting/gatk/dataSources/simpleDataSources/SAMBAMDataSource.java deleted file mode 100644 index e657a8e5d..000000000 --- a/java/src/org/broadinstitute/sting/gatk/dataSources/simpleDataSources/SAMBAMDataSource.java +++ /dev/null @@ -1,127 +0,0 @@ -package org.broadinstitute.sting.gatk.dataSources.simpleDataSources; - -import edu.mit.broad.picard.sam.SamFileHeaderMerger; -import net.sf.samtools.SAMFileHeader; -import net.sf.samtools.SAMFileReader; -import org.apache.log4j.Logger; -import org.broadinstitute.sting.gatk.iterators.MergingSamRecordIterator2; -import org.broadinstitute.sting.utils.GenomeLoc; - -import java.io.File; -import java.util.ArrayList; -import java.util.List; - -/** - * User: aaron - * Date: Mar 26, 2009 - * Time: 2:36:16 PM - *
- * The Broad Institute - * SOFTWARE COPYRIGHT NOTICE AGREEMENT - * This software and its documentation are copyright 2009 by the - * Broad Institute/Massachusetts Institute of Technology. All rights are reserved. - * - * This software is supplied without any warranty or guaranteed support whatsoever. Neither - * the Broad Institute nor MIT can be responsible for its use, misuse, or functionality. - */ -public class SAMBAMDataSource implements SimpleDataSource { - /** our SAM data files */ - private final SAMFileHeader.SortOrder SORT_ORDER = SAMFileHeader.SortOrder.coordinate; - - /** our log, which we want to capture anything from this class */ - protected static Logger logger = Logger.getLogger(SAMBAMDataSource.class); - - // are we set to locus mode or read mode for dividing - private boolean locusMode = false; - - // How strict should we be with SAM/BAM parsing? - protected SAMFileReader.ValidationStringency strictness = SAMFileReader.ValidationStringency.STRICT; - - // our list of readers - private final List- * seek - *
- * - * @param location the genome location to extract data for - * @return an iterator for that region - */ - public MergingSamRecordIterator2 seek(GenomeLoc location) throws SimpleDataSourceLoadException { - - // right now this is pretty damn heavy, it copies the file list into a reader list every time - List