diff NGSrich_0.5.5/src/datastructures/ReadFrame.java @ 0:89ad0a9cca52 default tip

Uploaded
author pfrommolt
date Mon, 21 Nov 2011 08:12:19 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NGSrich_0.5.5/src/datastructures/ReadFrame.java	Mon Nov 21 08:12:19 2011 -0500
@@ -0,0 +1,23 @@
+package datastructures;
+
+public class ReadFrame extends Frame{
+
+	private String chrom, name;
+	
+	public ReadFrame(String name,String chrom,  int start, int end) {
+		super(start, end-start+1);
+		this.chrom = chrom; this.name = name;
+	}
+	
+	public String chrom(){
+		return chrom;
+	}
+	
+	public String name(){
+		return name;
+	}
+	
+	public int size(){
+		return end-start+1;
+	}
+}