| 1 |
From: Kevin Murray <[email protected]> |
| 2 |
Date: Mon, 27 Apr 2015 16:59:32 +1000 |
| 3 |
Subject: Fix typos in binary |
| 4 |
|
| 5 |
--- |
| 6 |
src/prob.c | 2 +- |
| 7 |
src/scythe.c | 2 +- |
| 8 |
2 files changed, 2 insertions(+), 2 deletions(-) |
| 9 |
|
| 10 |
diff --git a/src/prob.c b/src/prob.c |
| 11 |
index 8bb3a70..adbf4a3 100644 |
| 12 |
--- a/src/prob.c |
| 13 |
+++ b/src/prob.c |
| 14 |
@@ -28,7 +28,7 @@ float *qual_to_probs(const char *qual, quality_type q_type) { |
| 15 |
for (i = 0; i < n; i++) { |
| 16 |
q = (char) qual[i]-quality_contants[q_type][Q_OFFSET]; |
| 17 |
if (q < quality_contants[q_type][Q_MIN] || q > quality_contants[q_type][Q_MAX]) { |
| 18 |
|
| 19 |
+ fprintf(stderr, "Base quality out of range for specified quality type (%d): %d\n", q_type, q); |
| 20 |
exit(EXIT_FAILURE); |
| 21 |
} |
| 22 |
if (q_type == SOLEXA) { |
| 23 |
diff --git a/src/scythe.c b/src/scythe.c |
| 24 |
index 5952a57..5ef5dc3 100644 |
| 25 |
--- a/src/scythe.c |
| 26 |
+++ b/src/scythe.c |
| 27 |
@@ -228,7 +228,7 @@ int main(int argc, char *argv[]) { |
| 28 |
seq = kseq_init(fp); |
| 29 |
|
| 30 |
/* Loop through entire sequence file. Write trimmed sequences to |
| 31 |
|
| 32 |
+ file (or stdout), and record matches in a match file if specified. |
| 33 |
*/ |
| 34 |
while ((l = kseq_read(seq)) >= 0) { |
| 35 |
shift = -1; |