public Match(int matchper, int matchbases, int total, int gaps, int matchdiff, int qstart, int qend, int substart, int subend, boolean qstrand, boolean substrand){
		
		this.matchper = matchper;
		this.matchbases = matchbases;
		this.total = total;		
		this.gaps = gaps;
		this.matchdiff = matchdiff;
		this.qstart = qstart;
		this.qend = qend;
		this.sstart = substart;
		this.send = subend;
		this.qstrand = qstrand;
		this.substrand = substrand;
		
		//Calculate query/subdiff
		//System.out.println(this.qend + "  " + this.qstart);
		//System.out.println(send + "  " + sstart);
		
		System.out.println(this.qend - this.qstart);
		System.out.println(this.sstart - this.send);
		
		//Both plus
		if(this.qstrand == true && this.substrand == true){
			
			querydiff = (this.qend - this.qstart) - ((send - sstart)); 
			subdiff = ((send - sstart)) - (this.qend - this.qstart);			
		}
		
		else if(this.qstrand == true && this.substrand ==false){
			
			querydiff = (this.qend - this.qstart) - ((sstart - send)); 
			subdiff = ((sstart - send)) - (this.qend - this.qstart); 			
			
		}
		else if(this.qstrand == false && this.substrand == true){
			
			querydiff = (this.qstart - this.qend) - ((send - sstart)); 
			subdiff = ((send - sstart)) - (this.qstart - this.qend); 			
		}
		else{
			
			querydiff = (this.qstart - this.qend + 1) - ((sstart - send)); 
			subdiff = ((sstart - send + 1)) - (this.qstart - this.qend);
			
			
		}
			
			
		
		

		
		
	}