Skip to content

Commit

Permalink
Closes #2. --exclude works fine
Browse files Browse the repository at this point in the history
All chromosomes are transformed to
lowercase before comparison
  • Loading branch information
michael-kotliar committed Nov 29, 2017
1 parent 7641948 commit 51e1a6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/annotation_reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ bool load_annotation (const string & full_path_name,
continue;
}

if (std::find(exclude_chr.begin(), exclude_chr.end(), current_isoform.chrom) != exclude_chr.end()){
if (std::find(exclude_chr.begin(), exclude_chr.end(), boost::to_lower_copy(current_isoform.chrom)) != exclude_chr.end()){
cout << "Skip chromosome [" << current_isoform.chrom << "]" << endl;
continue;
}
Expand Down

0 comments on commit 51e1a6c

Please sign in to comment.