r808: a minor bug with the new index -b
This commit is contained in:
parent
1bba5ef20e
commit
bf7d1d46ca
|
|
@ -208,6 +208,7 @@ int bwa_index(int argc, char *argv[]) // the "index" command
|
||||||
if (*str == 'G' || *str == 'g') block_size *= 1024 * 1024 * 1024;
|
if (*str == 'G' || *str == 'g') block_size *= 1024 * 1024 * 1024;
|
||||||
else if (*str == 'M' || *str == 'm') block_size *= 1024 * 1024;
|
else if (*str == 'M' || *str == 'm') block_size *= 1024 * 1024;
|
||||||
else if (*str == 'K' || *str == 'k') block_size *= 1024;
|
else if (*str == 'K' || *str == 'k') block_size *= 1024;
|
||||||
|
break;
|
||||||
default: return 1;
|
default: return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -217,7 +218,7 @@ int bwa_index(int argc, char *argv[]) // the "index" command
|
||||||
fprintf(stderr, "Usage: bwa index [options] <in.fasta>\n\n");
|
fprintf(stderr, "Usage: bwa index [options] <in.fasta>\n\n");
|
||||||
fprintf(stderr, "Options: -a STR BWT construction algorithm: bwtsw or is [auto]\n");
|
fprintf(stderr, "Options: -a STR BWT construction algorithm: bwtsw or is [auto]\n");
|
||||||
fprintf(stderr, " -p STR prefix of the index [same as fasta name]\n");
|
fprintf(stderr, " -p STR prefix of the index [same as fasta name]\n");
|
||||||
fprintf(stderr, " -b INT block size for the bwtsw algorithm (force -a bwtsw) [%d]\n", block_size);
|
fprintf(stderr, " -b INT block size for the bwtsw algorithm (effective with -a bwtsw) [%d]\n", block_size);
|
||||||
fprintf(stderr, " -6 index files named as <in.fasta>.64.* instead of <in.fasta>.* \n");
|
fprintf(stderr, " -6 index files named as <in.fasta>.64.* instead of <in.fasta>.* \n");
|
||||||
fprintf(stderr, "\n");
|
fprintf(stderr, "\n");
|
||||||
fprintf(stderr, "Warning: `-a bwtsw' does not work for short genomes, while `-a is' and\n");
|
fprintf(stderr, "Warning: `-a bwtsw' does not work for short genomes, while `-a is' and\n");
|
||||||
|
|
|
||||||
2
main.c
2
main.c
|
|
@ -4,7 +4,7 @@
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
|
|
||||||
#ifndef PACKAGE_VERSION
|
#ifndef PACKAGE_VERSION
|
||||||
#define PACKAGE_VERSION "0.7.10-r807-dirty"
|
#define PACKAGE_VERSION "0.7.10-r808-dirty"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int bwa_fa2pac(int argc, char *argv[]);
|
int bwa_fa2pac(int argc, char *argv[]);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue