-
Notifications
You must be signed in to change notification settings - Fork 1
/
BWTCollection.cpp
47 lines (43 loc) · 1.44 KB
/
BWTCollection.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/**
** BCR is part of:
** BEETL: Burrows-Wheeler Extended Tool Library
** Documentation in: doc/BEETL.md
**
** Copyright (c) 2011-2014 Illumina, Inc. **
** BEETL software package is
** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
**
** Citations:
**
** Markus J. Bauer, Anthony J. Cox and Giovanna Rosone
** Lightweight BWT Construction for Very Large String Collections.
** Proceedings of CPM 2011, pp.219-231
**
** Markus J. Bauer, Anthony J. Cox, Giovanna Rosone and Marinella Sciortino
** Lightweight LCP Construction for Next-Generation Sequencing Datasets.
** Proceedings of WABI 2012, pp 326-337, 2012
** Markus J. Bauer, Anthony J. Cox, Giovanna Rosone
** Lightweight algorithms for constructing and inverting the BWT of string collections.
** Theoretical Computer Science 483: 134-148 (2013)
**
** Anthony J. Cox, Fabio Garofalo, Giovanna Rosone, Marinella Sciortino
** Lightweight LCP construction for very large collections of strings.
** Journal of Discrete Algorithms (2016) 37: 17-33
**
** By Giovanna Rosone
**
**/
#include "BWTCollection.h"
#include "BCRexternalBWT.h"
namespace SXSI
{
/**
* Init bwt collection
*
* See BCRexternalBWT.h for more details.
*/
BWTCollection * BWTCollection::InitBWTCollection(char* file1, char* fileOut, string inputPrevBCR) {
BWTCollection *result = new BCRexternalBWT(file1, fileOut, inputPrevBCR);
return result;
}
}