MCPcopy Create free account
hub / github.com/GregoryFaust/samblaster / isPrimaryAlignment

Function isPrimaryAlignment

samblaster.cpp:486–487  ·  view source on GitHub ↗

These determine alignment type. Things may get more complicated than this once we have alternate contigs such as in build 38 of human genome.

Source from the content-addressed store, hash-verified

484// These determine alignment type.
485// Things may get more complicated than this once we have alternate contigs such as in build 38 of human genome.
486inline bool isPrimaryAlignment(splitLine_t * line)
487{ return !(checkFlag(line, 0x100) || checkFlag(line, 0x800)); }
488
489// We have to hande secondard and complementary alignments differently depending on compatMode.
490// So, we store which bits are being included in each.

Callers 2

markDupsDiscordantsFunction · 0.85

Calls 1

checkFlagFunction · 0.85

Tested by

no test coverage detected