Skip to content
Permalink
Browse files

include VTML40 in binary for easier access

  • Loading branch information
RuoshiZhang authored and milot-mirdita committed Nov 27, 2019
1 parent d82fdd2 commit 34da346409a38b8146d934fda8d6c98dd12c3136
Showing with 5 additions and 0 deletions.
  1. +1 −0 data/CMakeLists.txt
  2. +4 −0 src/commons/SubstitutionMatrix.cpp
@@ -22,6 +22,7 @@ set(COMPILED_RESOURCES
enrich.sh
blastn.sh
VTML80.out
VTML40.out
nucleotide.out
blosum62.out
PAM30.out
@@ -6,6 +6,7 @@
#include "blosum62.out.h"
#include "PAM30.out.h"
#include "VTML80.out.h"
#include "VTML40.out.h"

#include "nucleotide.out.h"

@@ -26,6 +27,9 @@ SubstitutionMatrix::SubstitutionMatrix(const char *filename, float bitFactor, fl
} else if (strcmp(parsedMatrix.first.c_str(), "VTML80.out") == 0) {
matrixData = std::string((const char *)VTML80_out, VTML80_out_len);
matrixName = "VTML80.out";
} else if (strcmp(parsedMatrix.first.c_str(), "VTML40.out") == 0) {
matrixData = std::string((const char *)VTML40_out, VTML40_out_len);
matrixName = "VTML40.out";
} else if (strcmp(parsedMatrix.first.c_str(), "PAM30.out") == 0) {
matrixData = std::string((const char *)PAM30_out, PAM30_out_len);
matrixName = "PAM30.out";

0 comments on commit 34da346

Please sign in to comment.
You can’t perform that action at this time.