This file is indexed.

/usr/include/libGenome-1.3/libGenome/gnDNASequence.h is in libgenome-1.3-dev 1.3.1-6.

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
/////////////////////////////////////////////////////////////////////////////
// File:            gnDNASequence.h
// Purpose:         Sequence class
// Description:     Provides a high level sequence interface to all types of
//					sequence data.
// Changes:        
// Version:         libGenome 0.5.1 
// Author:          Aaron Darling 
// Modified by:     
// Copyright:       (c) Aaron Darling 
// Licenses:        See COPYING file for details 
/////////////////////////////////////////////////////////////////////////////
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#ifndef _gnDNASequence_h_
#define _gnDNASequence_h_

#include "libGenome/gnDefs.h"

#include <string>
#include <list>
#include "libGenome/gnSequence.h"
#include "libGenome/gnFilter.h"

namespace genome {

/**
 * gnDNASequence is a special kind of gnSequence which can be used for DNA sequences
 * It sets the default filters and comparators to the DNA filters and comparators.
 */

class GNDLLEXPORT gnDNASequence : public gnSequence
{
public:
	/**
	 * Empty Constructor, creates an empty gnDNASequence.
	 */
	gnDNASequence();
	/**
	 * Creates a gnDNASequence with a single contig containing the bases in "seq".
	 * @param seq The null terminated array of base pairs to use.
	 */
	gnDNASequence( const gnSeqC* seq );
	/**
	 * Creates a gnDNASequence with a single contig containing the bases in "str".
	 * @param str The base pairs to use.
	 */
	gnDNASequence( const std::string& str );
	/**
	 * Creates a gnDNASequence with the contigs stored in "gngs".
	 * @param gngs the gnGenomeSpec to get contigs from.
	 */
	gnDNASequence( const gnGenomeSpec& gngs );
	/**
	 * Creates a gnDNASequence with the contigs stored in "gnfs".
	 * @param gnfs the gnFragmentSpec to get contigs from.
	 */
	gnDNASequence( const gnFragmentSpec& gnfs );
	/**
	 * Creates a gnDNASequence with the contigs stored in "gncs".
	 * @param gncs the gnContigSpec to get contigs from.
	 */
	gnDNASequence( const gnContigSpec& gncs );
	/**
	 * Creates a gnDNASequence with a single contig containing the bases in "bases".
	 * @param bases The base pairs to use
	 * @param length The length of the base pair array.
	 */
	gnDNASequence( gnSeqC *bases, const gnSeqI length);
	/**
	 * Copies the gnDNASequence "seq".
	 * @param seq The gnDNASequence to copy.
	 */
	gnDNASequence( const gnDNASequence& seq);
private:
	gnGenomeSpec *spec;
	list<const gnBaseFilter*> filter_list;
	const gnCompare* comparator;
}; // class gnDNASequence

inline
gnDNASequence::gnDNASequence() : gnSequence(){
	filter_list.push_back(gnFilter::fullDNASeqFilter());
	comparator = gnCompare::DNASeqCompare();
}
inline
gnDNASequence::gnDNASequence( const gnSeqC* seq ) : gnSequence(seq){
	filter_list.push_back(gnFilter::fullDNASeqFilter());
	comparator = gnCompare::DNASeqCompare();
}
inline
gnDNASequence::gnDNASequence( const std::string& str ) : gnSequence(str){
	filter_list.push_back(gnFilter::fullDNASeqFilter());
	comparator = gnCompare::DNASeqCompare();
}
inline
gnDNASequence::gnDNASequence( const gnGenomeSpec& gngs ) : gnSequence(gngs){
	filter_list.push_back(gnFilter::fullDNASeqFilter());
	comparator = gnCompare::DNASeqCompare();
}
inline
gnDNASequence::gnDNASequence( const gnFragmentSpec& gnfs ) : gnSequence(gnfs){
	filter_list.push_back(gnFilter::fullDNASeqFilter());
	comparator = gnCompare::DNASeqCompare();
}
inline
gnDNASequence::gnDNASequence( const gnContigSpec& gncs ) : gnSequence(gncs){
	filter_list.push_back(gnFilter::fullDNASeqFilter());
	comparator = gnCompare::DNASeqCompare();
}
inline
gnDNASequence::gnDNASequence( gnSeqC *bases, const gnSeqI length) : gnSequence(bases, length){
	filter_list.push_back(gnFilter::fullDNASeqFilter());
	comparator = gnCompare::DNASeqCompare();
}
inline
gnDNASequence::gnDNASequence( const gnDNASequence& seq) : gnSequence(seq){
	filter_list.push_back(gnFilter::fullDNASeqFilter());
	comparator = gnCompare::DNASeqCompare();
}


}	// end namespace genome

#endif
	// _gnDNASequence_h_