1 /*--------------------------------------------------------------------------
2 * Copyright 2009 utgenome.org
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *--------------------------------------------------------------------------*/
16 //--------------------------------------
17 // utgb-core Project
18 //
19 // OnGenomeDataVisitor.java
20 // Since: May 16, 2010
21 //
22 // $URL$
23 // $Author$
24 //--------------------------------------
25 package org.utgenome.gwt.utgb.client.bio;
26
27 /**
28 * Visitor interface for traversing data mapped onto a genome sequence
29 *
30 * @author leo
31 *
32 */
33 public interface OnGenomeDataVisitor {
34
35 public void visitInterval(Interval interval);
36
37 public void visitRead(Read r);
38
39 public void visitGap(Gap p);
40
41 public void visitGene(Gene g);
42
43 public void visitBEDGene(BEDGene g);
44
45 public void visitSAMRead(SAMRead r);
46
47 public void visitSAMReadLight(SAMReadLight r);
48
49 public void visitSAMReadPair(SAMReadPair pair);
50
51 public void visitSAMReadPairFragment(SAMReadPairFragment fragment);
52
53 public void visitSequence(ReferenceSequence referenceSequence);
54
55 public void visitReadCoverage(ReadCoverage readCoverage);
56
57 public void visitGraph(GraphData graph);
58
59 public void visitReadList(ReadList readList);
60 }