File: AssemblyStreams.h

package info (click to toggle)
abyss 2.3.10-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,284 kB
  • sloc: cpp: 78,182; ansic: 6,512; makefile: 2,252; perl: 672; sh: 509; haskell: 412; python: 4
file content (30 lines) | stat: -rw-r--r-- 787 bytes parent folder | download | duplicates (4)
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
#ifndef _ASSEMBLY_STREAMS_H_
#define _ASSEMBLY_STREAMS_H_

namespace BloomDBG {

	/** Bundles together input and output streams used during assembly */
	template <typename InputStreamT>
	struct AssemblyStreams
	{
		/** input reads stream */
		InputStreamT&  in;
		/** main FASTA output */
		std::ostream& out;
		/** duplicated FASTA output for checkpointing */
		std::ostream& checkpointOut;
		/** trace file output for debugging */
		std::ostream& traceOut;
		/** outcomes of processing each read */
		std::ostream& readLogOut;

		AssemblyStreams(InputStreamT& in, std::ostream& out,
			std::ostream& checkpointOut, std::ostream& traceOut,
			std::ostream& readLogOut) :
			in(in), out(out), checkpointOut(checkpointOut),
			traceOut(traceOut), readLogOut(readLogOut) {}
	};

}

#endif