Commit c54f73ac authored by Cyprien Borée's avatar Cyprien Borée
Browse files

Add BioReader and seed parameter in FilterWithACAutomaton

This constructor will directly call the buildACAutomaton method. Then
this method will construct the pair<Vector, Automaton> stored in the
FilterWithACAutomaton class.

For more informations see #3283.
parent 7ad7c20e
#include "filter.h"
pair<vector<int>*, AbstractACAutomaton<KmerAffect>*>* FilterWithACAutomaton::buildACAutomatonToFilterBioReader
FilterWithACAutomaton::FilterWithACAutomaton(BioReader &origin, string seed){
buildACAutomatonToFilterBioReader(origin, seed);
}
(BioReader &origin, string seed){
pair<vector<int>*, AbstractACAutomaton<KmerAffect>*>* result;
vector<int>* indexes;
......
......@@ -5,6 +5,9 @@
class FilterWithACAutomaton {
public:
FilterWithACAutomaton(BioReader &origin, string seed);
~FilterWithACAutomaton();
/*
This function will filter a BioReader
@param idxAho: A pointer to a pair containing an int vector pointer and
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment