diff --git a/FindJunction.cpp b/FindJunction.cpp index 34c0f3b..5505cfe 100644 --- a/FindJunction.cpp +++ b/FindJunction.cpp @@ -46,7 +46,7 @@ struct _junction char line[LINE_SIZE] ; char col[11][LINE_SIZE] ; // The option fields is not needed. char strand ; // Extract XS field -char noncanonStrandInfo ; +signed char noncanonStrandInfo ; //bool secondary ; int NH ; int editDistance ; diff --git a/Vote.cpp b/Vote.cpp index eb234a2..0a533a8 100644 --- a/Vote.cpp +++ b/Vote.cpp @@ -72,7 +72,7 @@ int CompDouble( const void *p1, const void *p2 ) int main( int argc, char *argv[] ) { - int i, j, k ; + int i, j, k = 0 ; double minAvgDepth = 1.0 ; double fraction = 1.0 ; int minSampleCnt = 3 ; diff --git a/alignments.hpp b/alignments.hpp index 855d026..4fdfd76 100644 --- a/alignments.hpp +++ b/alignments.hpp @@ -484,6 +484,7 @@ class Alignments } if ( gcCnt >= threshold * b->core.l_qseq ) return true ; + return false; } void GetGeneralInfo( bool stopEarly = false ) diff --git a/example/l1.bam b/example/l1.bam new file mode 100644 index 0000000..de2de18 Binary files /dev/null and b/example/l1.bam differ