Skip to content

Commit

Permalink
Update read_filter.cpp
Browse files Browse the repository at this point in the history
Fix the recognization pattern of fov
  • Loading branch information
youngchan919 committed Jun 27, 2019
1 parent 5cad693 commit ab21112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/read_filter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ C_fastq_stat_result stat_read(C_fastq& fq_read,C_global_parameter& gp){ //stat s
if(gp.seq_type=="0"){
for(i=0;i<seq_id_len;i++){
if(fq_read.seq_id[i]=='C')
if(i+8<fq_read.seq_id.size() && fq_read.seq_id[i+4]=='R' && fq_read.seq_id[i+8]=='_')
if(i+8<fq_read.seq_id.size() && fq_read.seq_id[i+4]=='R')
break;
}
}else{
Expand Down

0 comments on commit ab21112

Please sign in to comment.