From 307c6e4ecf6c670cdd239ed0d7259ca52acf6d7d Mon Sep 17 00:00:00 2001 From: hanna Date: Thu, 14 May 2009 00:52:30 +0000 Subject: [PATCH] Oops. Forgot to add new file to svn. git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@694 348d0f76-0448-11de-a6fe-93d51630548a --- .../providers/LocusContextQueue.java | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100755 java/src/org/broadinstitute/sting/gatk/dataSources/providers/LocusContextQueue.java diff --git a/java/src/org/broadinstitute/sting/gatk/dataSources/providers/LocusContextQueue.java b/java/src/org/broadinstitute/sting/gatk/dataSources/providers/LocusContextQueue.java new file mode 100755 index 000000000..44142b501 --- /dev/null +++ b/java/src/org/broadinstitute/sting/gatk/dataSources/providers/LocusContextQueue.java @@ -0,0 +1,35 @@ +package org.broadinstitute.sting.gatk.dataSources.providers; + +import org.broadinstitute.sting.gatk.LocusContext; +import org.broadinstitute.sting.utils.GenomeLoc; +/** + * User: hanna + * Date: May 13, 2009 + * Time: 3:30:16 PM + * BROAD INSTITUTE SOFTWARE COPYRIGHT NOTICE AND AGREEMENT + * Software and documentation are copyright 2005 by the Broad Institute. + * All rights are reserved. + * + * Users acknowledge that this software is supplied without any warranty or support. + * The Broad Institute is not responsible for its use, misuse, or + * functionality. + */ + +/** + * A queue of locus context entries. + */ + +public interface LocusContextQueue { + /** + * Get the locus context at the given position. + * @return Locus context, or null if no locus context exists at this position. + */ + LocusContext peek(); + + /** + * Seek to the given point the queue of locus contexts. + * @param target Target base pair to which to seek. Must be a single base pair. + * @return an instance of itself for parameter chaining. + */ + public LocusContextQueue seek(GenomeLoc target); +}