SHORE API
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
sort_file.hpp File Reference

Low level text file sorting and merging functions. More...

Go to the source code of this file.

Classes

class  shore::cmp_tokens
 General purpose line comparator. More...
 
class  shore::line_sorter< StrictWeakOrdering >
 ASCII text file sorting. More...
 

Namespaces

 shore
 SHORE core API.
 

Constant Groups

 shore
 SHORE core API.
 

Functions

bool shore::cmp_field0 (const char *const c0, const char *const c1)
 Numerically compares the first tab-delimited text field of two lines (reads_0.fl comparator).
 
bool shore::scmp_field0 (const std::string &s0, const std::string &s1)
 Numerically compares the first tab-delimited text field of two lines (std::string version of the reads_0.fl comparator).
 
bool shore::cmp_field0_lex (const char *const c0, const char *const c1)
 Lexically compares the first tab-delimited text field of two lines.
 
bool shore::cmp_line (const char *const c0, const char *const c1)
 Compares two text lines.
 
bool shore::cmp_maplist (const char *const c0, const char *const c1)
 Compares two map.list lines by position (columns 1&2).
 
bool shore::cmp_maplist_readid (const char *const c0, const char *const c1)
 Compares two map.list lines by read id (column 4).
 
bool shore::cmp_sam (const char *const c0, const char *const c1)
 Compares two mapping lines in sam format.
 
template<int K>
bool shore::cmp_field (const char *const c0, const char *const c1)
 Numerically compares two lines by field K (offset 0).
 
template<int K>
bool shore::cmp_field_lex (const char *const c0, const char *const c1)
 Lexically compares two lines by field K (offset 0).
 

Detailed Description

Low level text file sorting and merging functions.

Author
Felix Ott