annotate pyPRADA_1.2/tools/bwa-0.5.7-mh/bwase.h @ 3:f17965495ec9 draft default tip

Uploaded
author siyuan
date Tue, 11 Mar 2014 12:14:01 -0400
parents acc2ca1a3ba4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
1 #ifndef BWASE_H
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
2 #define BWASE_H
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
3
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
4 #include "bntseq.h"
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
5 #include "bwt.h"
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
6 #include "bwtaln.h"
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
7
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
8 #ifdef __cplusplus
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
9 extern "C" {
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
10 #endif
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
11
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
12 // Initialize mapping tables in the bwa single-end mapper.
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
13 void bwase_initialize();
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
14 // Calculate the approximate position of the sequence from the specified bwt with loaded suffix array.
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
15 void bwa_cal_pac_pos_core(const bwt_t* forward_bwt, const bwt_t* reverse_bwt, int n_seqs, bwa_seq_t* seq, const int max_mm, const float fnr);
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
16 // Refine the approximate position of the sequence to an actual placement for the sequence.
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
17 void bwa_refine_gapped(const bntseq_t *bns, int n_seqs, bwa_seq_t *seqs, ubyte_t *_pacseq, bntseq_t *ntbns);
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
18 // Backfill certain alignment properties mainly centering around number of matches.
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
19 void bwa_aln2seq(int n_aln, const bwt_aln1_t *aln, bwa_seq_t *s);
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
20 // Calculate the end position of a read given a certain sequence.
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
21 int64_t pos_end(const bwa_seq_t *p);
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
22
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
23 #ifdef __cplusplus
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
24 }
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
25 #endif
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
26
acc2ca1a3ba4 Uploaded
siyuan
parents:
diff changeset
27 #endif // BWASE_H