|
Gamgee
You miserable little maggot. I'll stove your head in!
|
#include <stdint.h>#include "cram/thread_pool.h"#include "cram/string_alloc.h"#include "htslib/khash.h"Go to the source code of this file.
Classes | |
| union | pmap_t |
| struct | cram_stats |
| struct | cram_file_def |
| struct | cram_metrics |
| struct | cram_block |
| struct | cram_block_compression_hdr |
| struct | cram_map |
| struct | cram_block_slice_hdr |
| struct | cram_container |
| struct | cram_record |
| struct | cram_feature |
| struct | cram_slice |
| struct | ref_entry |
| struct | refs_t |
| struct | cram_index |
| struct | cram_range |
| struct | spare_bams |
| struct | cram_fd |
Macros | |
| #define | SEQS_PER_SLICE 10000 |
| #define | SLICE_PER_CNT 1 |
| #define | CRAM_SUBST_MATRIX "CGTNAGTNACTNACGNACGT" |
| #define | MAX_STAT_VAL 1024 |
| #define | CRAM_MAJOR_VERS(v) ((v) >> 8) |
| #define | CRAM_MINOR_VERS(v) ((v) & 0xff) |
| #define | CRAM_MAP_HASH 32 |
| #define | CRAM_MAP(a, b) (((a)*3+(b))&(CRAM_MAP_HASH-1)) |
| #define | cram_qname(c) (&(c)->s->name_blk->data[(c)->name]) |
| #define | cram_seq(c) (&(c)->s->seqs_blk->data[(c)->seq]) |
| #define | cram_qual(c) (&(c)->s->qual_blk->data[(c)->qual]) |
| #define | cram_aux(c) (&(c)->s->aux_blk->data[(c)->aux]) |
| #define | cram_seqi(c, i) (cram_seq((c))[(i)]) |
| #define | cram_name_len(c) ((c)->name_len) |
| #define | cram_strand(c) (((c)->flags & BAM_FREVERSE) != 0) |
| #define | cram_mstrand(c) (((c)->flags & BAM_FMREVERSE) != 0) |
| #define | cram_cigar(c) (&((cr)->s->cigar)[(c)->cigar]) |
| #define | CRAM_CIGAR |
| #define | CRAM_SEQ |
| #define | CRAM_FPAIRED 256 |
| #define | CRAM_FPROPER_PAIR 128 |
| #define | CRAM_FUNMAP 64 |
| #define | CRAM_FREVERSE 32 |
| #define | CRAM_FREAD1 16 |
| #define | CRAM_FREAD2 8 |
| #define | CRAM_FSECONDARY 4 |
| #define | CRAM_FQCFAIL 2 |
| #define | CRAM_FDUP 1 |
| #define | DS_aux_S "\001" |
| #define | DS_aux_OQ_S "\002" |
| #define | DS_aux_BQ_S "\003" |
| #define | DS_aux_BD_S "\004" |
| #define | DS_aux_BI_S "\005" |
| #define | DS_aux_FZ_S "\006" |
| #define | DS_aux_oq_S "\007" |
| #define | DS_aux_os_S "\010" |
| #define | DS_aux_oz_S "\011" |
| #define | CRAM_M_REVERSE 1 |
| #define | CRAM_M_UNMAP 2 |
| #define | CRAM_FLAG_PRESERVE_QUAL_SCORES (1<<0) |
| #define | CRAM_FLAG_DETACHED (1<<1) |
| #define | CRAM_FLAG_MATE_DOWNSTREAM (1<<2) |
Typedefs | |
| typedef unsigned char | uc |
| typedef struct cram_map | cram_map |
| typedef struct cram_slice | cram_slice |
| typedef struct ref_entry | ref_entry |
| typedef struct cram_index | cram_index |
| typedef struct spare_bams | spare_bams |
| typedef struct cram_fd | cram_fd |
| #define cram_aux | ( | c | ) | (&(c)->s->aux_blk->data[(c)->aux]) |
| #define cram_cigar | ( | c | ) | (&((cr)->s->cigar)[(c)->cigar]) |
| #define CRAM_CIGAR |
| #define CRAM_FDUP 1 |
| #define CRAM_FLAG_DETACHED (1<<1) |
| #define CRAM_FLAG_MATE_DOWNSTREAM (1<<2) |
| #define CRAM_FLAG_PRESERVE_QUAL_SCORES (1<<0) |
| #define CRAM_FPAIRED 256 |
| #define CRAM_FPROPER_PAIR 128 |
| #define CRAM_FQCFAIL 2 |
| #define CRAM_FREAD1 16 |
| #define CRAM_FREAD2 8 |
| #define CRAM_FREVERSE 32 |
| #define CRAM_FSECONDARY 4 |
| #define CRAM_FUNMAP 64 |
| #define CRAM_M_REVERSE 1 |
| #define CRAM_M_UNMAP 2 |
| #define CRAM_MAJOR_VERS | ( | v | ) | ((v) >> 8) |
| #define CRAM_MAP | ( | a, | |
| b | |||
| ) | (((a)*3+(b))&(CRAM_MAP_HASH-1)) |
| #define CRAM_MAP_HASH 32 |
| #define CRAM_MINOR_VERS | ( | v | ) | ((v) & 0xff) |
| #define cram_mstrand | ( | c | ) | (((c)->flags & BAM_FMREVERSE) != 0) |
| #define cram_name_len | ( | c | ) | ((c)->name_len) |
| #define cram_qname | ( | c | ) | (&(c)->s->name_blk->data[(c)->name]) |
| #define cram_qual | ( | c | ) | (&(c)->s->qual_blk->data[(c)->qual]) |
| #define cram_seq | ( | c | ) | (&(c)->s->seqs_blk->data[(c)->seq]) |
| #define CRAM_SEQ |
| #define cram_seqi | ( | c, | |
| i | |||
| ) | (cram_seq((c))[(i)]) |
| #define cram_strand | ( | c | ) | (((c)->flags & BAM_FREVERSE) != 0) |
| #define CRAM_SUBST_MATRIX "CGTNAGTNACTNACGNACGT" |
| #define DS_aux_BD_S "\004" |
| #define DS_aux_BI_S "\005" |
| #define DS_aux_BQ_S "\003" |
| #define DS_aux_FZ_S "\006" |
| #define DS_aux_OQ_S "\002" |
| #define DS_aux_oq_S "\007" |
| #define DS_aux_os_S "\010" |
| #define DS_aux_oz_S "\011" |
| #define DS_aux_S "\001" |
| #define MAX_STAT_VAL 1024 |
| #define SEQS_PER_SLICE 10000 |
| #define SLICE_PER_CNT 1 |
| typedef struct cram_index cram_index |
| typedef struct cram_slice cram_slice |
| typedef struct spare_bams spare_bams |
| typedef unsigned char uc |
| enum cram_block_method |
| enum cram_content_type |
| enum cram_DS_ID |
| enum cram_encoding |
| enum cram_external_type |
| enum cram_fields |
1.8.8