[][src]Module bam::record

SAM/BAM record, sequence, qualities and operations on them.

Modules

cigar

Cigar and operations on it.

tags

Record tags and operations on them.

Structs

Flag

A wrapper around BAM/SAM flag.

Qualities

Wrapper around qualities.

Record

BAM Record.

Sequence

Wrapper around raw sequence, stored as an [u8; (len + 1) / 2]. Each four bits encode a nucleotide in the following order: =ACMGRSVTWYHKDBN.

Enums

Error

Error produced while reading Record.

Constants

ALL_SEGMENTS_ALIGNED

= 0x2. Record and its mate mapped properly.

FIRST_IN_PAIR

= 0x40. Record is the first segment in a template.

LAST_IN_PAIR

= 0x80. Record is the last segment in a template.

MATE_REVERSE_STRAND

= 0x20. Record mate is on the reverse strand.

MATE_UNMAPPED

= 0x8. Record mate is unmapped.

PCR_OR_OPTICAL_DUPLICATE

= 0x400. Record is PCR or optical duplicate.

RECORD_FAILS_QC

= 0x200. Record fails platform/vendor quality checks.

RECORD_PAIRED

= 0x1. Record has a mate.

RECORD_REVERSE_STRAND

= 0x10. Record is on the reverse strand.

RECORD_UNMAPPED

= 0x4. Record is unmapped.

SECONDARY

= 0x100. Alignment is secondary (not primary).

SUPPLEMENTARY

= 0x800. Alignment is supplementary (chimeric/split).