Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2e89f31
commit 8ca2f06
Showing
9 changed files
with
102 additions
and
250 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// | ||
// testtrimoligos.cpp | ||
// Mothur | ||
// | ||
// Created by Sarah Westcott on 7/14/16. | ||
// Copyright © 2016 Schloss Lab. All rights reserved. | ||
// | ||
|
||
#include "catch.hpp" | ||
#include "testtrimoligos.hpp" | ||
|
||
/**************************************************************************************************/ | ||
TestTrimOligos::TestTrimOligos() { //setup | ||
m = MothurOut::getInstance(); | ||
|
||
//set up barcodes, primers, pairedBarcodes and pairedPrimers | ||
|
||
//Set up vector of seqs with barcodes and primers | ||
|
||
//Set up vector of seqs with pairedbarcodes and pairedprimers | ||
|
||
} | ||
/**************************************************************************************************/ | ||
TestTrimOligos::~TestTrimOligos() { | ||
|
||
} | ||
/**************************************************************************************************/ | ||
|
||
TEST_CASE("Testing TrimOligos Class") { | ||
TestTrimOligos testTrim; | ||
|
||
|
||
//Create trimoligos classes with various constructors | ||
|
||
|
||
//run all public strip functions | ||
|
||
|
||
//run private functions | ||
|
||
|
||
} | ||
/**************************************************************************************************/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
// | ||
// testtrimoligos.hpp | ||
// Mothur | ||
// | ||
// Created by Sarah Westcott on 7/14/16. | ||
// Copyright © 2016 Schloss Lab. All rights reserved. | ||
// | ||
|
||
#ifndef testtrimoligos_hpp | ||
#define testtrimoligos_hpp | ||
|
||
#include "trimoligos.h" | ||
#include "sequence.hpp" | ||
|
||
class TestTrimOligos : public TrimOligos { | ||
|
||
|
||
public: | ||
|
||
TestTrimOligos(); | ||
~TestTrimOligos(); | ||
|
||
MothurOut* m; | ||
vector<Sequence> seqs; | ||
vector<Sequence> pairedSeqs; | ||
|
||
map<string, int> barcodes; | ||
map<string, int> primers; | ||
map<int, oligosPair> pairedPrimers; | ||
map<int, oligosPair> pairedBarcodes; | ||
|
||
using TrimOligos::compareDNASeq(string, string); | ||
using TrimOligos::countDiffs(string, string); | ||
|
||
}; | ||
|
||
|
||
#endif /* testtrimoligos_hpp */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.