Skip to content

Commit

Permalink
Increase max limit to 50mb, parse genome size as atol to allow >2gb g…
Browse files Browse the repository at this point in the history
…enome sizes
  • Loading branch information
skoren committed Jun 13, 2017
1 parent b7cdf10 commit 492db5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fastq-utilities/fastqSample.C
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

using namespace std;

#define MAXLEN 1024*1024
#define MAXLEN 1024*1024*50

class aRead {
public:
Expand Down Expand Up @@ -189,7 +189,7 @@ main(int argc, char **argv) {


} else if (strcmp(argv[arg], "-g") == 0) {
GENOMESIZE = atoi(argv[++arg]);
GENOMESIZE = atol(argv[++arg]);
} else if (strcmp(argv[arg], "-c") == 0) {
COVERAGE = atof(argv[++arg]);

Expand Down

0 comments on commit 492db5b

Please sign in to comment.