Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bedtools2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
R3
legacy
bedtools2
Commits
0ef7f2dd
Commit
0ef7f2dd
authored
13 years ago
by
Aaron
Browse files
Options
Downloads
Patches
Plain Diff
preliminary
parent
f98028d5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+5
-1
5 additions, 1 deletion
Makefile
src/intersectBed/intersectMain.cpp
+5
-5
5 additions, 5 deletions
src/intersectBed/intersectMain.cpp
with
10 additions
and
6 deletions
Makefile
+
5
−
1
View file @
0ef7f2dd
...
...
@@ -9,6 +9,7 @@ SHELL := /bin/bash -e
export
OBJ_DIR
=
obj
export
BIN_DIR
=
bin
export
SRC_DIR
=
src
export
UTIL_DIR
=
src/utils
export
CXX
=
g++
export
CXXFLAGS
=
-Wall
-O2
-D_FILE_OFFSET_BITS
=
64
-fPIC
export
LIBS
=
-lz
...
...
@@ -59,6 +60,8 @@ UTIL_SUBDIRS = $(SRC_DIR)/utils/lineFileUtilities \
$(
SRC_DIR
)
/utils/Fasta
\
$(
SRC_DIR
)
/utils/genomeFile
BUILT_OBJECTS
=
$(
OBJ_DIR
)
/
*
.o
all
:
[
-d
$(
OBJ_DIR
)
]
||
mkdir
-p
$(
OBJ_DIR
)
[
-d
$(
BIN_DIR
)
]
||
mkdir
-p
$(
BIN_DIR
)
...
...
@@ -78,7 +81,8 @@ all:
echo
""
;
\
done
echo
"- Building main bedtools binary."
@echo
"- Building main bedtools binary."
@$(CXX)
$(LDFLAGS)
$(CXXFLAGS)
-o
$(BIN_DIR)/bedtools
$(BUILT_OBJECTS)
-L$(UTIL_DIR)/BamTools/lib/
-lbamtools
$(LIBS)
.PHONY
:
all
...
...
This diff is collapsed.
Click to expand it.
src/intersectBed/intersectMain.cpp
+
5
−
5
View file @
0ef7f2dd
...
...
@@ -22,9 +22,9 @@ using namespace std;
#define PARAMETER_CHECK(param, paramLen, actualLen) (strncmp(argv[i], param, min(actualLen, paramLen))== 0) && (actualLen == paramLen)
// function declarations
void
ShowH
elp
(
void
);
void
intersect_h
elp
(
void
);
int
main
(
int
argc
,
char
*
argv
[])
{
int
intersect_
main
(
int
argc
,
char
*
argv
[])
{
// our configuration variables
bool
showHelp
=
false
;
...
...
@@ -68,7 +68,7 @@ int main(int argc, char* argv[]) {
}
}
if
(
showHelp
)
ShowH
elp
();
if
(
showHelp
)
intersect_h
elp
();
// do some parsing (all of these parameters require 2 strings)
for
(
int
i
=
1
;
i
<
argc
;
i
++
)
{
...
...
@@ -223,11 +223,11 @@ int main(int argc, char* argv[]) {
return
0
;
}
else
{
ShowH
elp
();
intersect_h
elp
();
}
}
void
ShowH
elp
(
void
)
{
void
intersect_h
elp
(
void
)
{
cerr
<<
endl
<<
"Program: "
<<
PROGRAM_NAME
<<
" (v"
<<
VERSION
<<
")"
<<
endl
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment