Function
getTagValue
Return tag value from a BamHeaderRecord or BamTagsDict.
Include Headers
seqan/bam_io.h
Parameters
The BamTagsDict to retrieve data from. Types: BamTagsDict | |
Index of the tag whose value to retrieve. The index of the tag whose value is to be retrieved. Types: | |
The tag's value is stored here. Types: CharString | |
The name of tag whose value is to be retrieved. Types: CharString | |
The record to query. Types: BamHeaderRecord |
Remarks
Note that you will get <type char> + payload in case of BamTagsDict.
See BamTagsDict for an example.
Return Values
CharString with the raw tags data.
Member of
Examples
bool keyFound = getTagValue(tagValue, "SN", record);
See Also
SeqAn - Sequence Analysis Library - www.seqan.de