Skip to content

Commit

Permalink
Issue #978: fixed corrupted transcriptInfo.tab in genome generation f…
Browse files Browse the repository at this point in the history
…or cases where GTF file contains extra chromosomes not present in FASTA files.
  • Loading branch information
alexdobin committed Aug 15, 2020
1 parent 10f3a65 commit 10930be
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
* Issue #978: fixed corrupted transcriptInfo.tab in genome generation for cases where GTF file contains extra chromosomes not present in FASTA files.
* Issue #945: otuput GX/GN for --soloFeatures GeneFull .

STAR 2.7.5b --- 2020/08/01
======================
Bug-fix release.
Expand Down
4 changes: 4 additions & 0 deletions source/GTF.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,8 @@ GTF::GTF(Genome &genome, Parameters &P, const string &dirOut, SjdbClass &sjdbLoc
errOut << "Solution: check the formatting of the GTF file. One likely cause is the difference in chromosome naming between GTF and FASTA file.\n";
exitWithError(errOut.str(),std::cerr, P.inOut->logMain, EXIT_CODE_INPUT_FILES, P);
};

exonLoci.resize(exonN); //previous exonLoci.size() was an estimate, need to reszie to the actual value

return;
};

0 comments on commit 10930be

Please sign in to comment.