Function
findTagKey
Find a tag's key of a BamHeaderRecord.
findTagKey(idx, tagsDict, name)
findTagKey(idx, key, record)
Include Headers
seqan/bam_io.h
Parameters
idx
Index of the tag with the given key.
The index of the found key is stored here.
Types: unsigned, unsigned
tagsDict
The BamTagsDict to retrieve data from.
name
Name of the key to find.
Types: CharString
key
The name of the tag key whose position is to be stored in idx.
Types: CharString
record
The record to query.
Return Values
bool, indicating whether such a key could be found.
bool, indicating whether the key could be found.
Member of
Examples
unsigned myIdx = 0;
bool keyFound = findTagKey(myIdx, "SN", record);
See Also
SeqAn - Sequence Analysis Library - www.seqan.de
 

Page built @2012/10/02 11:10:31