Skip to content

Commit

Permalink
Skip contigs not in range requested by the user
Browse files Browse the repository at this point in the history
  • Loading branch information
skoren committed Dec 20, 2021
1 parent dd10d72 commit fe6d364
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/utgcns/utgcns.C
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@ processImportedTigs(cnsParameters &params) {

while (tig->importData(importFile, reads, importedLayouts, importedReads) == true) {

if (tig->tigID() < params.tigBgn || tig->tigID() > params.tigEnd) {
fprintf(stdout, "Skipping tig %d\n", tig->tigID());
continue;
}
// Log that we're processing.

if (tig->numberOfChildren() > 1) {
Expand Down

0 comments on commit fe6d364

Please sign in to comment.