Skip to content
Snippets Groups Projects
Commit b9fe25a3 authored by Veronique Legrand's avatar Veronique Legrand
Browse files

bug fix

parent 39b2b5ef
No related branches found
No related tags found
No related merge requests found
...@@ -128,6 +128,7 @@ void lowFilterCMS(FqBaseBackend* map_id_backend[],int nb_be,int k, CountMinSketc ...@@ -128,6 +128,7 @@ void lowFilterCMS(FqBaseBackend* map_id_backend[],int nb_be,int k, CountMinSketc
unsigned int j=it_offs->first; unsigned int j=it_offs->first;
for (it_struct=it_offs->second.begin();it_struct!=it_offs->second.end();it_struct++) { for (it_struct=it_offs->second.begin();it_struct!=it_offs->second.end();it_struct++) {
// read dna string corresponding to fastq record // read dna string corresponding to fastq record
if (it_struct->fileid) {
DnaSeqStr a_seqs[2]; DnaSeqStr a_seqs[2];
init_DnaSeqStr(&a_seqs[0]); init_DnaSeqStr(&a_seqs[0]);
init_DnaSeqStr(&a_seqs[1]); init_DnaSeqStr(&a_seqs[1]);
...@@ -137,6 +138,7 @@ void lowFilterCMS(FqBaseBackend* map_id_backend[],int nb_be,int k, CountMinSketc ...@@ -137,6 +138,7 @@ void lowFilterCMS(FqBaseBackend* map_id_backend[],int nb_be,int k, CountMinSketc
ret=pcms->isBeneathMinKappa(nbrKmerDecompo); ret=pcms->isBeneathMinKappa(nbrKmerDecompo);
if (ret) it_struct->fileid=0; if (ret) it_struct->fileid=0;
nbrKmerDecompo.clear(); nbrKmerDecompo.clear();
}
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment