Revision 480a94cbe722741cd3f1c2d35549a5af06c3e774 authored by fenderglass on 18 July 2014, 18:59:24 UTC, committed by fenderglass on 18 July 2014, 18:59:24 UTC
1 parent 5bc5199
Raw File
overlap.h
//(c) 2013-2014 by Authors
//This file is a part of Ragout program.
//Released under the BSD license (see LICENSE file)

#ifndef OVERLAP_H
#define OVERLAP_H

#include "fasta.h"
#include <vector>

struct Overlap
{
	Overlap(FastaRecord* prevContig, FastaRecord* nextContig, int size):
		prevContig(prevContig), nextContig(nextContig), size(size) {}

	FastaRecord* prevContig;
	FastaRecord* nextContig;
	int size;
};

std::vector<Overlap> getOverlaps(std::vector<FastaRecord>& contigs, 
								 int minOverlap, int maxOverlap);

#endif
back to top