projects
/
samtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mention ‘SAMtools’ in libbam-dev's description, to make it easier to find with apt...
[samtools.git]
/
errmod.h
diff --git
a/errmod.h
b/errmod.h
index e3e9a90540cee5a78bb603956db20e7861555c2d..32c07b67b625924230689fca1d16da4f49e5938b 100644
(file)
--- a/
errmod.h
+++ b/
errmod.h
@@
-12,6
+12,13
@@
typedef struct {
errmod_t *errmod_init(float depcorr);
void errmod_destroy(errmod_t *em);
errmod_t *errmod_init(float depcorr);
void errmod_destroy(errmod_t *em);
+
+/*
+ n: number of bases
+ m: maximum base
+ bases[i]: qual:6, strand:1, base:4
+ q[i*m+j]: phred-scaled likelihood of (i,j)
+ */
int errmod_cal(const errmod_t *em, int n, int m, uint16_t *bases, float *q);
#endif
int errmod_cal(const errmod_t *em, int n, int m, uint16_t *bases, float *q);
#endif