This file is indexed.

/usr/lib/emboss/include/ajseqwrite.h is in emboss-lib 6.3.1-6ubuntu3.

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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
#ifdef __cplusplus
extern "C"
{
#endif

#ifndef ajseqwrite_h
#define ajseqwrite_h




/* @data AjPSeqout ************************************************************
**
** Ajax Sequence Output object.
**
** Holds definition of sequence output.
**
** @alias AjSSeqout
** @alias AjOSeqout
**
** @attr Name [AjPStr] Name (ID)
** @attr Acc [AjPStr] Accession number (primary only)
** @attr Sv [AjPStr] SeqVersion number
** @attr Gi [AjPStr] GI NCBI version number
** @attr Desc [AjPStr] One-line description
** @attr Tax [AjPStr] Main taxonomy (species)
** @attr Taxid [AjPStr] Main taxonomy (species) id in NCBI taxonomy
** @attr Organelle [AjPStr] Organelle taxonomy
** @attr Type [AjPStr] Type N or P
** @attr Outputtype [AjPStr] Output sequence known type
** @attr Molecule [AjPStr] Molecule type
** @attr Class [AjPStr] Class of entry
** @attr Division [AjPStr] Database division
** @attr Evidence [AjPStr] Experimental evidence (e.g. from UniProt)
** @attr Db [AjPStr] Database name from input name
** @attr Setdb [AjPStr] Database name from input command line
** @attr Setoutdb [AjPStr] Database name from command line
** @attr Full [AjPStr] Full name
** @attr Date [AjPSeqDate] Dates
** @attr Fulldesc [AjPSeqDesc] Dates
** @attr Doc [AjPStr] Obsolete - see TextPtr
** @attr Usa [AjPStr] USA for re-reading
** @attr Ufo [AjPStr] UFO for re-reading
** @attr Fttable [AjPFeattable] Feature table
** @attr Ftquery [AjPFeattabOut] Feature table output
** @attr FtFormat [AjPStr] Feature output format (if not in UFO)
** @attr FtFilename [AjPStr] Feature output filename (if not in UFO)
** @attr Informatstr [AjPStr] Input format
** @attr Formatstr [AjPStr] Output format
** @attr EType [AjEnum] unused, obsolete
** @attr Format [AjEnum] Output format index
** @attr Filename [AjPStr] Output filename (if not in USA)
** @attr Directory [AjPStr] Output directory
** @attr Entryname [AjPStr] Entry name
** @attr Acclist [AjPList] Secondary accessions
** @attr Keylist [AjPList] Keyword list
** @attr Taxlist [AjPList] Taxonomy list
** @attr Genelist [AjPList] Gene list
** @attr Reflist [AjPList] References (citations)
** @attr Cmtlist [AjPList] Comment block list
** @attr Xreflist [AjPList] Database cross reference list
** @attr Seq [AjPStr] The sequence
** @attr File [AjPFile] Output file
** @attr Knownfile [AjPFile] Already open output file (we don't close this one)
** @attr Extension [AjPStr] File extension
** @attr Savelist [AjPList] Previous sequences saved for later output
**                          (e.g. MSF format)
** @attr Accuracy [float*] Accuracy values (one per base) from base calling
** @attr Data [void*] Format data for reuse, e.g. multiple sequence output
** @attr Cleanup [(void*)] Function to write remaining lines on closing
** @attr Rev [AjBool] true: to be reverse-complemented
** @attr Circular [AjBool] true: circular nucleotide molecule
** @attr Single [AjBool] If true, single sequence in each file (-ossingle)
** @attr Features [AjBool] If true, save features with sequence or in file
** @attr Qualsize [ajuint] Size of Accuracy array
** @attr Count [ajint] Number of sequences
** @attr Offset [ajint] offset from start
**
** @new ajSeqoutNew Default constructor
** @delete ajSeqoutDel Default destructor
** @modify ajSeqoutUsa Resets using a new USA
** @modify ajSeqoutClear Resets ready for reuse.
** @modify ajSeqoutOpen If the file is not yet open, calls seqoutUsaProcess
** @cast ajSeqoutCheckGcg Calculates the GCG checksum for a sequence set.
** @modify ajSeqWrite Master sequence output routine
** @modify ajSeqsetWrite Master sequence set output routine
** @modify ajSeqFileNewOut Opens an output file for sequence writing.
** @other AjPSeq Sequences
** @attr Padding [char[4]] Padding to alignment boundary
** @@
******************************************************************************/

typedef struct AjSSeqout {
  AjPStr Name;
  AjPStr Acc;
  AjPStr Sv;
  AjPStr Gi;
  AjPStr Desc;
  AjPStr Tax;
  AjPStr Taxid;
  AjPStr Organelle;
  AjPStr Type;
  AjPStr Outputtype;
  AjPStr Molecule;
  AjPStr Class;
  AjPStr Division;
  AjPStr Evidence;
  AjPStr Db;
  AjPStr Setdb;
  AjPStr Setoutdb;
  AjPStr Full;
  AjPSeqDate Date;
  AjPSeqDesc Fulldesc;
  AjPStr Doc;
  AjPStr Usa;
  AjPStr Ufo;
  AjPFeattable Fttable;
  AjPFeattabOut Ftquery;
  AjPStr FtFormat;
  AjPStr FtFilename;
  AjPStr Informatstr;
  AjPStr Formatstr;
  AjEnum EType;
  AjEnum Format;
  AjPStr Filename;
  AjPStr Directory;
  AjPStr Entryname;
  AjPList Acclist;
  AjPList Keylist;
  AjPList Taxlist;
  AjPList Genelist;
  AjPList Reflist;
  AjPList Cmtlist;
  AjPList Xreflist;
  AjPStr Seq;
  AjPFile File;
  AjPFile Knownfile;
  AjPStr Extension;
  AjPList Savelist;
  float* Accuracy;
  void *Data;
  void (*Cleanup) (struct AjSSeqout * outseq);
  AjBool Rev;
  AjBool Circular;
  AjBool Single;
  AjBool Features;
  ajuint Qualsize;
  ajint Count;
  ajint Offset;
  char Padding[4];
} AjOSeqout;

#define AjPSeqout AjOSeqout*




/*
** Prototype definitions
*/

AjBool       ajSeqoutWriteSeq (AjPSeqout outseq, const AjPSeq seq);
AjBool       ajSeqoutOpenFilename (AjPSeqout seqout, const AjPStr name);
ajint        ajSeqoutGetCheckgcg (const AjPSeqout outseq);
const AjPStr ajSeqoutGetFilename(const AjPSeqout thys);
void         ajSeqoutClear (AjPSeqout thys);
void         ajSeqoutGetBasecount(const AjPSeqout seqout, ajuint* bases);
AjBool       ajSeqoutSetNameDefaultC(AjPSeqout thys,
				     AjBool multi, const char* txt);
AjBool       ajSeqoutSetNameDefaultS(AjPSeqout thys,
				     AjBool multi, const AjPStr str);
void         ajSeqoutDel (AjPSeqout* thys);
AjBool       ajSeqoutstrGetFormatDefault (AjPStr* Pformat);
AjBool       ajSeqoutstrIsFormatExists(const AjPStr format);
AjBool       ajSeqoutstrIsFormatSingle (const AjPStr format);
AjPSeqout    ajSeqoutNew (void);
AjPSeqout    ajSeqoutNewFile (AjPFile file);
AjPSeqout    ajSeqoutNewFormatC(const char* txt);
AjPSeqout    ajSeqoutNewFormatS(const AjPStr str);
AjBool       ajSeqoutOpen (AjPSeqout thys);
AjBool       ajSeqoutSetFormatC (AjPSeqout thys, const char* format);
AjBool       ajSeqoutSetFormatS (AjPSeqout thys, const AjPStr format);
void         ajSeqoutTrace (const AjPSeqout seq);
void         ajSeqoutPrintFormat (AjPFile outf, AjBool full);
void         ajSeqoutPrintbookFormat (AjPFile outf);
void         ajSeqoutPrinthtmlFormat (AjPFile outf);
void         ajSeqoutPrintwikiFormat (AjPFile outf);
void         ajSeqoutClearUsa (AjPSeqout thys, const AjPStr Usa);
AjBool       ajSeqoutWriteSet (AjPSeqout seqout, const AjPSeqset seq);
void         ajSeqoutClose(AjPSeqout outseq);
void         ajSeqoutFlush(AjPSeqout seqout);
void         ajSeqoutExit(void);
void         ajSeqoutReset(AjPSeqout seqout);

void         ajSeqoutDumpSwisslike(AjPSeqout outseq,const AjPStr seq,
				   const char *prefix);

/*
** End of prototype definitions
*/

__deprecated void         ajSeqoutCount(const AjPSeqout seqout, ajuint* b);
__deprecated void         ajSeqAllWrite (AjPSeqout outseq, const AjPSeq seq);
__deprecated AjBool       ajSeqFileNewOut (AjPSeqout seqout,
					   const AjPStr name);
__deprecated AjPSeqout    ajSeqoutNewF (AjPFile file);
__deprecated void         ajSeqWrite (AjPSeqout seqout, const AjPSeq seq);
__deprecated void         ajSeqsetWrite(AjPSeqout outseq, const AjPSeqset seq);
__deprecated void         ajSeqWriteClose (AjPSeqout outseq);
__deprecated AjBool       ajSeqOutFormatSingle (AjPStr format);
__deprecated AjBool       ajSeqOutSetFormat (AjPSeqout thys,
					     const AjPStr format);
__deprecated AjBool       ajSeqOutSetFormatC (AjPSeqout thys,
					      const char* format);
__deprecated AjBool       ajSeqOutFormatDefault (AjPStr* pformat);

__deprecated void         ajSeqoutUsa (AjPSeqout* pthis, const AjPStr Usa);

__deprecated void         ajSeqPrintOutFormat (AjPFile outf, AjBool full);
__deprecated AjBool       ajSeqFindOutFormat(const AjPStr format,
					     ajint* iformat);
__deprecated void         ajSeqWriteExit(void);
__deprecated ajint        ajSeqoutCheckGcg (const AjPSeqout outseq);

__deprecated void         ajSeqoutDefName(AjPSeqout thys,
					  const AjPStr setname, AjBool multi);
__deprecated void         ajSeqWriteXyz(AjPFile outf,
					const AjPStr seq, const char *prefix);
__deprecated void         ajSssWriteXyz(AjPFile outf,
					const AjPStr seq, const char *prefix);
#endif

#ifdef __cplusplus
}
#endif