projects
/
samtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 0.1.17
[samtools.git]
/
bcftools
/
bcf.h
diff --git
a/bcftools/bcf.h
b/bcftools/bcf.h
index ba6dbe9b42ae033c6b3c179a730a48312cf927dd..aeae6ca0de411f198f4ff76d7c29f99a19f54448 100644
(file)
--- a/
bcftools/bcf.h
+++ b/
bcftools/bcf.h
@@
-28,6
+28,8
@@
#ifndef BCF_H
#define BCF_H
#ifndef BCF_H
#define BCF_H
+#define BCF_VERSION "0.1.17 (r973:277)"
+
#include <stdint.h>
#include <zlib.h>
#include <stdint.h>
#include <zlib.h>
@@
-150,6
+152,8
@@
extern "C" {
int bcf_fix_gt(bcf1_t *b);
// update PL generated by old samtools
int bcf_fix_pl(bcf1_t *b);
int bcf_fix_gt(bcf1_t *b);
// update PL generated by old samtools
int bcf_fix_pl(bcf1_t *b);
+ // convert PL to GLF-like 10-likelihood GL
+ int bcf_gl10(const bcf1_t *b, uint8_t *gl);
// string hash table
void *bcf_build_refhash(bcf_hdr_t *h);
// string hash table
void *bcf_build_refhash(bcf_hdr_t *h);