/usr/include/ncbi/aliparse.h is in libncbi6-dev 6.1.20120620-7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 | /*=========================================================================*/
/* */
/* aliparse.h -- Header file for aliparse.c */
/* */
/*=========================================================================*/
#ifndef _ALIPARSE_
#define _ALIPARSE_
/* Include files */
#include <ncbi.h>
#include <objalign.h>
#include <sqnutils.h>
#include <alignmgr.h>
#include <aliread.h>
#undef NLM_EXTERN
#ifdef NLM_IMPORT
#define NLM_EXTERN NLM_IMPORT
#else
#define NLM_EXTERN extern
#endif
#ifdef __cplusplus
extern "C" {
#endif
/* Defined constants */
#define ALI_SET_DEFAULTS 0x0000
#define ALI_SET_GAP_CHAR 0x0001
#define ALI_SET_MISSING_CHAR 0x0002
#define ALI_SET_MAYBES 0x0004
#define ALI_SET_READBUFF 0x0008
#define ALI_SET_NUCL_MIN 0x0010
#define ALI_SET_NUCL_MAX 0x0020
#define ALI_SET_CORRUPT_MAX 0x0040
#define ALI_SET_DEBUG_LEVEL 0x0080
#define ALI_SET_ERRMSG_EXPAND 0x0100
#define ALI_SET_ALL 0x00ff
#define ALI_SHOW_NONE 0x00
#define ALI_SHOW_SEQUENCES 0x01
#define ALI_SHOW_DEFLINES 0x02
#define ALI_SHOW_OTHERS 0x04
#define ALI_SHOW_ALL 0xff
#define ALI_CONTIGUOUS 1
#define ALI_INTERLEAVED 2
#define ALI_ERRMSG_EXPAND_ALL 1
#define ALI_ERRMSG_EXPAND_SOME 2
#define ALI_ERRMSG_EXPAND_NONE 3
#define SEQUENCE_LINE 1
#define DEFINITION_LINE 2
#define OTHER_LINE 3
/* The alignment file when read in is stored in a */
/* linked list of ValNodes. These ValNodes contain */
/* one of the following data types depending on the */
/* choice setting. */
/* */
/* choice type of data.ptrvalue */
/* ------ --------------------- */
/* 0 (ALI_UNKNOWN) NULL */
/* 1 (ALI_SEQLINE) SeqLineInfoPtr */
/* 2 (ALI_DEFLINE) DefLineInfoPtr */
/* 3 (ALI_OTHERLINE) OtherLineInfoPtr */
#define ALI_UNKNOWN 0
#define ALI_SEQLINE 1
#define ALI_DEFLINE 2
#define ALI_OTHERLINE 3
#define ERR_SEQ_BEFORE_ID 1
#define ERR_ID_WITHOUT_SEQ 2
#define ERR_SEQ_WITHOUT_ID 3
#define ERR_DUPLICATE_IDS 4
#define ERR_SEQUENCE_TOO_SHORT 5
#define ERR_SEQUENCE_TOO_LONG 6
#define ERR_OUT_OF_MEMORY 7
#define ERR_ID_NO_PRECEDING_SEQ 8
#define ERR_DEFLINE_WITH_NO_ID 9
#define ERR_ID_WITH_NO_DEFLINE 10
#define ERR_NOT_INTERLEAVED 11
#define ERR_NOT_CONTIGUOUS 12
#define ERR_NO_SEQUENCES_FOUND 13
#define ERR_ID_COUNT_MISMATCH 14
#define ERR_SEQ_LENGTH_MISMATCH 15
#define ERR_INVALID_DEFLINE 16
#define ERR_DEFLINE_NODEFS 17
#define ERR_GLOBAL_DEFLINE_NODEFS 18
#define ERR_MULTI_DEFLINE_NODEFS 19
#define LEVEL_MULTI 1
#define LEVEL_ERROR 2
#define LEVEL_WARNING 3
#define LEVEL_INFO 4
/* Data structures */
/* Function prototypes */
SeqLineInfoPtr SeqLineReEval (SeqLineInfoPtr seqLinePtr);
AlignFileDataPtr Ali_Read (FILE PNTR alignFilePtr);
void Ali_Free (AlignFileDataPtr fileInfoPtr);
ErrInfoPtr XAli_AddError (ErrInfoPtr PNTR errorList, Int4 iError);
ErrInfoPtr Ali_AddError (ErrInfoPtr PNTR errorListPtr,
Int4 iError,
...);
void Ali_ChangeRowToOther (ValNodePtr rowPtr);
Boolean Ali_SetConfig (AliConfigInfoPtr configPtr,
Int2 options);
AliConfigInfoPtr Ali_GetConfig (void);
NLM_EXTERN SeqEntryPtr ALI_ConvertToNCBIData(AlignFileDataPtr afp);
#ifdef __cplusplus
}
#endif
#undef NLM_EXTERN
#ifdef NLM_EXPORT
#define NLM_EXTERN NLM_EXPORT
#else
#define NLM_EXTERN
#endif
#endif /* _ALIPARSE_ */
|