X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=synthesisRef.cpp;h=8ce268c197dfff87b7c6d989077fe863cc0d1a4c;hb=52f1bd6f44f9b2630b839f192fb9ece18581983b;hp=3bb28086b3fee8755d81b88ad8f053b1ffd5a0af;hpb=019648be71e0b8ea5772530b5496720fcb841bba;p=rsem.git diff --git a/synthesisRef.cpp b/synthesisRef.cpp index 3bb2808..8ce268c 100644 --- a/synthesisRef.cpp +++ b/synthesisRef.cpp @@ -17,7 +17,7 @@ int M; map name2seq; map::iterator iter; -Transcripts transcripts; +Transcripts transcripts(1); // no genome, just transcript set char groupF[STRLEN], tiF[STRLEN], refFastaF[STRLEN], chromListF[STRLEN]; bool hasMappingFile; @@ -104,7 +104,7 @@ void writeResults(char* refName) { } int main(int argc, char* argv[]) { - if (argc < 5 || (hasMappingFile = atoi(argv[3])) && argc < 6) { + if (argc < 5 || ((hasMappingFile = atoi(argv[3])) && argc < 6)) { printf("Usage: synthesisRef refName quiet hasMappingFile [mappingFile] reference_file_1 [reference_file_2 ...]\n"); exit(-1); }