Commit 99a397b8 by Celine Mercier

obi uniq: various improvements and fixes #66

parent f5c472ff
...@@ -26,6 +26,10 @@ cdef extern from "obiview.h" nogil: ...@@ -26,6 +26,10 @@ cdef extern from "obiview.h" nogil:
extern const_char_p QUALITY_COLUMN extern const_char_p QUALITY_COLUMN
extern const_char_p COUNT_COLUMN extern const_char_p COUNT_COLUMN
extern const_char_p TAXID_COLUMN extern const_char_p TAXID_COLUMN
extern const_char_p MERGED_TAXID_COLUMN
extern const_char_p MERGED_PREFIX
extern const_char_p TAXID_DIST_COLUMN
extern const_char_p MERGED_COLUMN
struct Alias_column_pair_t : struct Alias_column_pair_t :
Column_reference_t column_refs Column_reference_t column_refs
......
...@@ -57,9 +57,14 @@ ...@@ -57,9 +57,14 @@
*/ */
#define TAXID_COLUMN "TAXID" /**< The name of the column containing the taxids. TODO subtype of INT column? #define TAXID_COLUMN "TAXID" /**< The name of the column containing the taxids. TODO subtype of INT column?
*/ */
#define MERGED_TAXID_COLUMN "merged_TAXID" /**< The name of the column containing the merged taxids information. #define MERGED_TAXID_COLUMN "MERGED_TAXID" /**< The name of the column containing the merged taxids information.
*/ // TODO maybe mix of lower and uppercase == bad */
#define MERGED_PREFIX "MERGED_" /**< The prefix to prepend to column names when merging informations during obi uniq.
*/
#define TAXID_DIST_COLUMN "TAXID_DIST" /**< The name of the column containing a dictionary of taxid:[list of ids] when merging informations during obi uniq.
*/
#define MERGED_COLUMN "MERGED" /**< The name of the column containing a list of ids when merging informations during obi uniq.
*/
#define ID_PREFIX "seq" /**< The default prefix of sequence identifiers in automatic ID columns. #define ID_PREFIX "seq" /**< The default prefix of sequence identifiers in automatic ID columns.
*/ */
#define PREDICATE_KEY "predicates" /**< The key used in the json-formatted view comments to store predicates. #define PREDICATE_KEY "predicates" /**< The key used in the json-formatted view comments to store predicates.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment