Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
R3
legacy
bedtools2
Commits
64acb9d1
Commit
64acb9d1
authored
Aug 24, 2012
by
Brent Pedersen
Browse files
use TokenizeColumns in groupBy and add lineFileUtilities as dependency to Makefile
parent
69c11d6e
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/groupBy/Makefile
View file @
64acb9d1
...
...
@@ -16,7 +16,7 @@ INCLUDES = -I$(UTILITIES_DIR)/tabFile/ \
# ----------------------------------
# define our source and object files
# ----------------------------------
SOURCES
=
groupBy.cpp
SOURCES
=
groupBy.cpp
$(UTILITIES_DIR)
/lineFileUtilities/lineFileUtilities.h
OBJECTS
=
groupBy.o
BUILT_OBJECTS
=
$(
patsubst
%,
$(OBJ_DIR)
/%,
$(OBJECTS)
)
...
...
src/groupBy/groupBy.cpp
View file @
64acb9d1
...
...
@@ -172,10 +172,10 @@ int groupby_main(int argc, char* argv[]) {
// Split the column string sent by the user into discrete column numbers
// A comma separated string is expected.
vector
<
int
>
groupColumnsInt
;
Tokenize
(
groupColumnsString
,
groupColumnsInt
,
','
);
Tokenize
Columns
(
groupColumnsString
,
groupColumnsInt
);
vector
<
int
>
opColumnsInt
;
Tokenize
(
opsColumnString
,
opColumnsInt
,
','
);
Tokenize
Columns
(
opsColumnString
,
opColumnsInt
);
// sanity check the group columns
for
(
size_t
i
=
0
;
i
<
groupColumnsInt
.
size
();
++
i
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment