Changeset 3029 for trunk/yat/omic/BamRead.h
- Timestamp:
- Apr 21, 2013, 3:04:41 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/omic/BamRead.h
r3028 r3029 114 114 /** 115 115 \return pointer to auxiliary data 116 117 \see aux_size(void) 116 118 */ 117 119 const uint8_t* aux(void) const; 118 120 119 121 /** 122 Use bam_aux2? functions (in samtools C api) to convert returned 123 pointer to corresponding type. 124 125 \return pointer to field associated with \a tag, NULL if \a tag 126 doesn't exist. 127 128 \see bam_aux_get 129 120 130 \since New in yat 0.11 121 131 */ … … 123 133 124 134 /** 125 \since New in yat 0.11 126 */ 127 void aux(const char tag[2], char type, int len, uint8_t* data); 128 129 /** 130 \since New in yat 0.11 135 \brief append a new tag to aux field 136 137 \param tag two-charcter tag to append 138 \param type describes which type and can be 'iIsScCdfAZH' 139 \param len length of data 140 \param data pointer to data 141 142 \since New in yat 0.11 143 144 \see SAM specification 131 145 */ 132 146 void aux_append(const char tag[2], char type, int len, uint8_t* data); 133 147 134 148 /** 149 \brief remove a tag in aux field 150 151 \throw utility::runtime_error if \a tag is not present in read 152 135 153 \since New in yat 0.11 136 154 */ … … 138 156 139 157 /** 158 \return length of aux field 159 140 160 \since New in yat 0.11 141 161 */
Note: See TracChangeset
for help on using the changeset viewer.