Skip to content

Commit

Permalink
Backport of fix for #74 as primary has moved on
Browse files Browse the repository at this point in the history
  • Loading branch information
keiranmraine committed Jan 3, 2018
1 parent 54c0981 commit 21252d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CAVEMAN_VERSION=1.11.3
CAVEMAN_VERSION=1.11.4
TEST_REF?=""
#Compiler
CC?=gcc
Expand Down
6 changes: 4 additions & 2 deletions src/split.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** LICENSE
* Copyright (c) 2014-2015 Genome Research Ltd.
* Copyright (c) 2014-2018 Genome Research Ltd.
*
* Author: Cancer Genome Project cgpit@sanger.ac.uk
*
Expand Down Expand Up @@ -333,7 +333,9 @@ int split_main(int argc, char *argv[]){
//Set old stop position (Min of curr_t_pos & curr_n_pos)
sect_stop = min(curr_t_pos,curr_n_pos);
//This is the position on which to separate the split sections so print it.
split_access_print_section(output,chr_name,sect_start,sect_stop);
if(sect_stop>0) {
split_access_print_section(output,chr_name,sect_start,sect_stop);
}
//printf("Found %d reads for %s:%d-%d\n",rd_count,chr_name,sect_start,sect_stop);
//Reset read count
rd_count=1;//Set as 1 due to the way the loop records read counts .
Expand Down

0 comments on commit 21252d3

Please sign in to comment.