/usr/include/Bpp/Raa/RaaSeqAttributes.h is in libbpp-raa-dev 2.2.0-2.
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 | #ifndef _RAASEQATTRIBUTES_H_
#define _RAASEQATTRIBUTES_H_
#include <string>
namespace bpp
{
/**
* @brief Contains various attributes of a sequence (length, name, species name, genetic code, etc...).
*
*/
class RaaSeqAttributes {
friend class RAA;
public:
/**
* @brief Returns the sequence name.
*/
std::string getName() {return name; };
/**
* @brief Returns the sequence length.
*/
int getLength() {return length; };
/**
* @brief Returns the sequence database rank.
*/
int getRank() {return rank; };
/**
* @brief Returns the sequence's NCBI genetic code number (1 is universal). Meaningful only for CDS sequences.
*/
int getGeneticCode() {return ncbi_gc; };
/**
* @brief Returns the sequence reading frame (0, 1, or 2). Meaningful only for CDS sequences.
*/
int getReadingFrame() {return frame; };
/**
* @brief Returns the sequence species name.
*/
std::string getSpeciesName() {return species; };
/**
* @brief Returns the sequence primary accession number.
*/
std::string getAccessionNumber() {return accno; };
/**
* @brief Returns a one-line description of the sequence.
*/
std::string getDescription() {return description; };
protected:
/**
* @brief The database connection of this sequence.
*/
RAA *raa;
private:
std::string name;
int rank;
int length;
int ncbi_gc;
int frame;
std::string species;
std::string accno;
std::string description;
};
} // namespace bpp
#endif //_RAASEQATTRIBUTES_H_
|