procope.methods.interologs.blast
Interface BlastBBHConstraints

All Known Implementing Classes:
BlastBBHAlignmentLengthConstraint

public interface BlastBBHConstraints

Interface which is implemented by classes which define constraints for the calculation of BBHs from BLAST hits.

Author:
Jan Krumsiek

Method Summary
 boolean acceptBBH(int protein1, int protein2, BlastHit forwardHit, BlastHit backwardHit)
          Function which is called by the BBH calculator to ask whether a given BBH is accepted or not.
 

Method Detail

acceptBBH

boolean acceptBBH(int protein1,
                  int protein2,
                  BlastHit forwardHit,
                  BlastHit backwardHit)
Function which is called by the BBH calculator to ask whether a given BBH is accepted or not.

Parameters:
protein1 - first protein of the BBH
protein2 - second protein of the BBH
forwardHit - first BLAST hit leading to that BBH
backwardHit - second BLAST hit leading to that BBH
Returns:
whether the BBH is accepted or not