Skip to content

Commit

Permalink
Remove limit of AS_MAX_READLEN on utgcns
Browse files Browse the repository at this point in the history
  • Loading branch information
skoren committed Mar 10, 2022
1 parent 001fa55 commit 7041856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utgcns/unitigConsensus.C
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ unitigConsensus::generateTemplateStitch(void) {
char *fragment = seq->getBases();
uint32 readLen = seq->length();

uint32 tigmax = AS_MAX_READLEN; // Must be at least AS_MAX_READLEN, else resizeArray() could fail
uint32 tigmax = std::max(readLen, AS_MAX_READLEN); // Must be at least AS_MAX_READLEN, else resizeArray() could fail
uint32 tiglen = 0;
char *tigseq = NULL;

Expand Down

0 comments on commit 7041856

Please sign in to comment.