Skip to content

Commit 60005c2

Browse files
committed
extra parameters checks added
1 parent aa00104 commit 60005c2

File tree

5 files changed

+154
-104
lines changed

5 files changed

+154
-104
lines changed

Diff for: include/input.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ struct UserInputTeloscope : UserInput {
1616
uint8_t kmerLen = 21;
1717
uint32_t step = 500;
1818
unsigned short int minBlockLen = 500; // Only for all blocks
19-
unsigned short int maxBlockDist = 200;
19+
unsigned short int maxBlockDist = 50;
2020
unsigned short int minBlockCounts = 2;
2121
uint32_t terminalLimit = 50000;
2222

@@ -26,6 +26,7 @@ struct UserInputTeloscope : UserInput {
2626
bool outEntropy = false;
2727
bool outMatches = false;
2828
bool outITS = false;
29+
bool ultraFastMode = true;
2930

3031
double maxMem = 0;
3132
std::string prefix = ".", outFile = ""; // JACK: CHECK

Diff for: src/input.cpp

+5-6
Original file line numberDiff line numberDiff line change
@@ -48,20 +48,19 @@ void Input::read(InSequences &inSequences) {
4848
});
4949

5050
lg.verbose("Waiting for jobs to complete");
51-
std::cout << "Waiting for jobs to complete" << std::endl;
51+
std::cout << "Waiting for jobs to complete..." << std::endl;
5252

5353
jobWait(threadPool); // Wait for all jobs to complete
54-
lg.verbose("All jobs completed");
55-
std::cout << "All jobs completed" << std::endl;
54+
lg.verbose("\nAll jobs completed.");
5655

5756
teloscope.sortBySeqPos();
58-
lg.verbose("\nPaths sorted by original position");
57+
lg.verbose("\nPaths sorted by original position.");
5958

6059
teloscope.handleBEDFile();
61-
lg.verbose("\nBED/BEDgraph files generated");
60+
lg.verbose("\nBED/BEDgraph files generated.");
6261

6362
teloscope.printSummary();
64-
lg.verbose("\nSummary printed");
63+
lg.verbose("\nSummary printed.");
6564
}
6665

6766

0 commit comments

Comments
 (0)