Debian Codegraph @

debian/patches/use_bwa_compatible_fermi-lite.patch

raw
1 Description: Adapt to fermi-lite which does not conflict with bwa
2 An issue on fermi-lite upstream tracker
3 https://github.com/lh3/fermi-lite/issues/5
4 suggests to take over a patch for the Debian package which would
5 enable making it co-usable with libbwa-dev (which is needed in
6 libseqlib). This patch adapts ariba to the potential change in
7 fermi-lite.
8 Author: Andreas Tille <[email protected]>
9 Last-Update: 2017-02-04
10
11 --- a/ariba/ext/fml-asm_ariba.cpp
12 +++ b/ariba/ext/fml-asm_ariba.cpp
13 @@ -136,7 +136,7 @@ int assemble(char *readsFile, char *fast
14 {
15 fml_opt_t opt;
16 int n_seqs, n_utg;
17 - bseq1_t *seqs;
18 + fml_seq1_t *seqs;
19 fml_opt_init(&opt);
20 opt.max_cnt = 10000;
21 opt.mag_opt.flag |= MAG_F_AGGRESSIVE;
22 @@ -176,7 +176,7 @@ int assemble(char *readsFile, char *fast
23
24 // need to get the reads from the file every time, instead of before
25 // the loop because fml_assemble() destroys them :(
26 - seqs = bseq_read(readsFile, &n_seqs);
27 + seqs = fml_seq_read(readsFile, &n_seqs);
28 if (seqs && n_seqs > 0) {
29 fml_utg_t *utg;
30 utg = fml_assemble(&opt, n_seqs, seqs, &n_utg);