File: RepeatMatch.h

package info (click to toggle)
libmems 1.6.0%2B4725-13
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,236 kB
  • sloc: cpp: 21,579; ansic: 4,313; xml: 115; makefile: 107; sh: 26
file content (51 lines) | stat: -rw-r--r-- 1,453 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*******************************************************************************
 * $Id: Match.h,v 1.10 2004/03/01 02:40:08 darling Exp $
 * This file is copyright 2002-2007 Aaron Darling and authors listed in the AUTHORS file.
 * This file is licensed under the GPL.
 * Please see the file called COPYING for licensing details.
 * **************
 ******************************************************************************/

#ifndef _RepeatMatch_h_
#define _RepeatMatch_h_

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#include "libGenome/gnClone.h"
#include <iostream>
#include <vector>
#include <set>
#include "libMems/MatchHashEntry.h"

namespace mems {

/**
 * The Match class stores the location of an <b>equal size</b> (inexact or exactly) 
 * matching region
 * between several sequences.  There are numerous functions in this
 * class which can be used to compare and manipulate this match.
 */
class RepeatMatch : public MatchHashEntry {

public:
	RepeatMatch();
	RepeatMatch( const uint32 seq_count, const gnSeqI mersize, const MemType m_type = seed );
	RepeatMatch(const RepeatMatch& mhe);
	~RepeatMatch();
	void FromSeq( uint32 match_id, uint32 seq_id );
	uint32 SeqId( uint32 match_id );
protected:
	std::vector<uint32> m_seq_id;

private:


};
std::ostream& operator<<(std::ostream& os, const RepeatMatch& mhe); //write to source.

}	// namespace mems

#endif // _RepeatMatch_h_