-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfasta_merge.h
47 lines (40 loc) · 1003 Bytes
/
fasta_merge.h
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
#pragma once
#include <iostream>
#include <fstream>
#include <string>
#include <cstring>
#include <filesystem>
#include <list>
#include <set>
#include <sstream>
#include <vector>
#include <algorithm>
using namespace std;
class fasta_merge
{
/**
* Can split a merged FASTA file into its individual sequences.
**/
private:
/**
* @param fasta_Folder defines the FASTA folder with the multiple sequences.
**/
string fasta_Folder;
/**
* @param output_FASTA defines the output folder to which the resultant merged FASTA sequence will be written to.
**/
string output_FASTA;
public:
/**
* Constructor Function assigns passed variables to the classes' private variable.
**/
fasta_merge(string fasta_Folder, string output_FASTA);
/**
* Execution function.
**/
void ingress();
/**
* Collects all the FASTA compatible files present in the fasta_Folder folder.
**/
vector<string> index_FASTA_folder();
};