private void readFileToSeqString(File file) throws IOException {

		FileReader fr = new FileReader(file);
		BufferedReader br = new BufferedReader(fr);
		
		String name = null;
		String sequence = "";
		String temp = "";
		while (true) {
			temp = br.readLine();
			if(temp != null)temp = temp.toUpperCase();		//Because characters in sequnce file may be in lower case,here we convert to upper case
			
			if (temp == null || temp.equals("")) 
			{
				if (name == null) 
				{
					return;
				} else 
				   {
					Dnaseq dna = new Dnaseq(name, sequence);
					this.DNASeqs.add(dna);
					return;
				   }
			}
			if (temp.substring(0, 1).equals(">")) 
			{
				if (name == null) 
				{
					name = temp.substring(1, temp.length());
				} else 
				{
					Dnaseq dna = new Dnaseq(name, sequence);
					this.DNASeqs.add(dna);
					name = temp.substring(1, temp.length());
					sequence = "";
				}
			} else 
			{
				sequence += temp;
			}
		}

	}