Skip to content

Commit

Permalink
Increase mapped read buffer.
Browse files Browse the repository at this point in the history
  • Loading branch information
mozack committed Jan 18, 2016
1 parent b31140d commit 712d522
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/c/quick_map3.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@ void quick_map_process_contig(char* contig_id, char* contig, vector<mapped_pair>
vector<pair<int, int> >& start_positions, char should_output) {

int read1_count = 0;
int MAX_READ_PAIRS = 1000000;
// TODO: Grow dynamically
int MAX_READ_PAIRS = 10000000;
map_info** read1 = (map_info**) calloc(MAX_READ_PAIRS, sizeof(map_info*));

sparse_hash_map<const char*, struct map_info*, vjf_hash, vjf_eqstr> read2;
Expand Down

0 comments on commit 712d522

Please sign in to comment.