Code Search for Developers
 
 
  

PsiBlastExecutorResult.java from Re-searcher at Krugle


Show PsiBlastExecutorResult.java syntax highlighted

package researcher.blast.exec;

import java.util.ArrayList;
import java.util.List;

import researcher.blast.BlastTypes.HitDetails;

public class PsiBlastExecutorResult {

	private List<HitDetails> hits;

	private String errors;

	public PsiBlastExecutorResult(List<HitDetails> hits) {
		if (hits == null) throw new NullPointerException();
		this.hits = new ArrayList<HitDetails>(hits);
	}
	
	public PsiBlastExecutorResult(String error) {
		if (error == null) throw new NullPointerException();
		this.errors = error;
	}

	public String getErrors() {
		return errors;
	}

	public List<HitDetails> getHits() {
		return hits;
	}
	
	public boolean hasErrors(){
		if (errors != null) return true;
		return false;
	}

	
}




See more files for this project here

Re-searcher

Re-searcher is the system for recurrent psiblast searches. It enables timely detection of new proteins on the protein sequence databases. Searches can be done on a local server or at NCBI. It has a user-friendly web interface.

Project homepage: http://sourceforge.net/projects/researcher
Programming language(s): Java,XML
License: other

  PsiBlastExecutor.java
  PsiBlastExecutorResult.java
  QBlastExecutor.java
  SshPsiBlastExecutor.java