コード例 #1
0
ファイル: Record.cpp プロジェクト: alexagrf/cpipe
bool Record::intersects(const Record *record,
                        bool wantSameStrand, bool wantDiffStrand, float overlapFraction, bool reciprocal) const
{
    //must be on same chromosome
    if (!sameChrom(record)) {
        return false;
    }
    return sameChromIntersects(record, wantSameStrand, wantDiffStrand, overlapFraction, reciprocal);
}
コード例 #2
0
ファイル: Record.cpp プロジェクト: LukeGoodsell/bedtools2
bool Record::intersects(const Record *record,
                        bool sameStrand,
                        bool diffStrand,
                        float overlapFractionA,
                        float overlapFractionB,
                        bool reciprocalFraction,
                        bool eitherFraction) const
{
	//must be on same chromosome
	if (!sameChrom(record)) {
		return false;
	}
	return sameChromIntersects(record,
                               sameStrand, diffStrand,
                               overlapFractionA, overlapFractionB,
                               reciprocalFraction, eitherFraction);
}