1 //========================================================================
5 // Created on : Aug 6, 2013
7 // Copyright : The Broad Institute
8 // SOFTWARE COPYRIGHT NOTICE AGREEMENT
9 // This software and its documentation are copyright (2013)
10 // by the Broad Institute. All rights are reserved.
12 // This software is supplied without any warranty or
13 // guaranteed support whatsoever. The Broad Institute cannot
14 // be responsible for its use, misuse, or functionality.
16 //========================================================================
23 #include "ReadBioFile.h"
24 #include "jaz/fastx_iterator.hpp"
25 #include "xny/seq_manip.hpp"
26 #include "xny/file_manip.hpp"
28 void estSeqFrq (const strvec_t
& ipfqlist
, const strvec_t
& isfqlist
,
29 int k
, int batch
, bool silent
);
31 void obtain_kfrq (umap_t
& kcnt
, int k
, int batch
, const strvec_t
& files
, bool silent
);
32 void kmer_cnt_in_seqs (umap_t
& kcnt
, const strvec_t
& seqs
, int k
);
35 void obtain_seqfrq (ivec_t
& frq
, const umap_t
& kcnt
, int k
,
36 int batch
, const strvec_t
& files
, bool silent
) ;
37 void seq_freq (ivec_t
& frq
, const umap_t
& kcnt
, int k
, const strvec_t
& seqs
);
39 #endif /* SEQFRQEST_H_ */