NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
cram_samtools.c File Reference
#include <assert.h>
#include <string.h>
#include <stdlib.h>
#include "cram/cram.h"
#include "htslib/sam.h"

Go to the source code of this file.

Functions

int bam_construct_seq (bam_seq_t **bp, size_t extra_len, const char *qname, size_t qname_len, int flag, int rname, int pos, int end, int mapq, uint32_t ncigar, const uint32_t *cigar, int mrnm, int mpos, int isize, int len, const char *seq, const char *qual)
 
bam_hdr_tcram_header_to_bam (SAM_hdr *h)
 
SAM_hdrbam_header_to_cram (bam_hdr_t *h)
 

Function Documentation

int bam_construct_seq ( bam_seq_t **  bp,
size_t  extra_len,
const char *  qname,
size_t  qname_len,
int  flag,
int  rname,
int  pos,
int  end,
int  mapq,
uint32_t  ncigar,
const uint32_t cigar,
int  mrnm,
int  mpos,
int  isize,
int  len,
const char *  seq,
const char *  qual 
)

Definition at line 41 of file cram_samtools.c.

SAM_hdr* bam_header_to_cram ( bam_hdr_t h)

Definition at line 142 of file cram_samtools.c.

bam_hdr_t* cram_header_to_bam ( SAM_hdr h)

Definition at line 120 of file cram_samtools.c.