Skip to content

Instantly share code, notes, and snippets.

@martin-steinegger
Created March 7, 2018 06:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martin-steinegger/2ecff9e259d97eca3f9c45c69912d113 to your computer and use it in GitHub Desktop.
Save martin-steinegger/2ecff9e259d97eca3f9c45c69912d113 to your computer and use it in GitHub Desktop.
Index: src/alignment/MsaFilter.cpp
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- src/alignment/MsaFilter.cpp (revision 2339462c06eab0bee64e4fc0ebebf7707f6e53fd)
+++ src/alignment/MsaFilter.cpp (date 1520402320000)
@@ -245,6 +245,13 @@
<< ": " << __func__ << ":" << "\n";
Debug(Debug::WARNING)
<< "\tFiltering removed all sequences in alignment. Inserting back first sequence.\n";
+ for (int k = 0; k < N_in; ++k) {
+ for (int i = 0; i < L; ++i){
+ std::cout << m->int2aa[X[k][i]];
+ }
+ std::cout << std::endl;
+ }
+
} else if (display[kfirst] == 2) { // the only sequence in the alignment is the consensus sequence :-(
Debug(Debug::WARNING) << "Warning in " << __FILE__ << ":" << __LINE__
<< ": " << __func__ << ":" << "\n";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment