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
9628eca3
Commit
9628eca3
authored
13 years ago
by
Aaron
Browse files
Options
Downloads
Patches
Plain Diff
Tweaked Makefile and added notboth option to pairToPair.
parent
82617370
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Makefile
+0
-2
0 additions, 2 deletions
Makefile
src/pairToPair/pairToPair.cpp
+1
-1
1 addition, 1 deletion
src/pairToPair/pairToPair.cpp
src/pairToPair/pairToPair.h
+1
-1
1 addition, 1 deletion
src/pairToPair/pairToPair.h
src/pairToPair/pairToPairMain.cpp
+5
-5
5 additions, 5 deletions
src/pairToPair/pairToPairMain.cpp
with
7 additions
and
9 deletions
Makefile
+
0
−
2
View file @
9628eca3
...
...
@@ -21,10 +21,8 @@ SUBDIRS = $(SRC_DIR)/annotateBed \
$(
SRC_DIR
)
/closestBed
\
$(
SRC_DIR
)
/complementBed
\
$(
SRC_DIR
)
/coverageBed
\
$(
SRC_DIR
)
/cuffToTrans
\
$(
SRC_DIR
)
/fastaFromBed
\
$(
SRC_DIR
)
/flankBed
\
$(
SRC_DIR
)
/fjoin
\
$(
SRC_DIR
)
/genomeCoverageBed
\
$(
SRC_DIR
)
/intersectBed
\
$(
SRC_DIR
)
/linksBed
\
...
...
This diff is collapsed.
Click to expand it.
src/pairToPair/pairToPair.cpp
+
1
−
1
View file @
9628eca3
...
...
@@ -124,7 +124,7 @@ void PairToPair::FindOverlaps(const BEDPE &a) {
if
((
hitsA2B1
.
size
()
>
0
)
||
(
hitsA1B2
.
size
()
>
0
))
found2
=
FindHitsOnBothEnds
(
a
,
hitsA2B1
,
hitsA1B2
);
if
(
!
found1
&&
!
found2
)
if
(
!
found1
||
!
found2
)
_bedA
->
reportBedPENewLine
(
a
);
}
else
if
(
_searchType
==
"either"
)
{
...
...
This diff is collapsed.
Click to expand it.
src/pairToPair/pairToPair.h
+
1
−
1
View file @
9628eca3
...
...
@@ -65,7 +65,7 @@ private:
void
FindQualityHitsBetweenEnds
(
CHRPOS
start
,
CHRPOS
end
,
const
vector
<
MATE
>
&
hits
,
vector
<
MATE
>
&
qualityHits
,
int
&
numOverlaps
);
void
FindHitsOnBothEnds
(
const
BEDPE
&
a
,
const
vector
<
MATE
>
&
qualityHitsEnd1
,
bool
FindHitsOnBothEnds
(
const
BEDPE
&
a
,
const
vector
<
MATE
>
&
qualityHitsEnd1
,
const
vector
<
MATE
>
&
qualityHitsEnd2
);
void
FindHitsOnEitherEnd
(
const
BEDPE
&
a
,
const
vector
<
MATE
>
&
qualityHitsEnd1
,
...
...
This diff is collapsed.
Click to expand it.
src/pairToPair/pairToPairMain.cpp
+
5
−
5
View file @
9628eca3
...
...
@@ -122,8 +122,8 @@ int main(int argc, char* argv[]) {
showHelp
=
true
;
}
if
(
haveSearchType
&&
(
searchType
!=
"neither"
)
&&
(
searchType
!=
"both"
)
&&
(
searchType
!=
"either"
))
{
cerr
<<
endl
<<
"*****"
<<
endl
<<
"*****ERROR: Request
\"
both
\"
or
\"
neither
\"
"
<<
endl
<<
"*****"
<<
endl
;
if
(
haveSearchType
&&
(
searchType
!=
"neither"
)
&&
(
searchType
!=
"both"
)
&&
(
searchType
!=
"either"
)
&&
(
searchType
!=
"notboth"
)
)
{
cerr
<<
endl
<<
"*****"
<<
endl
<<
"*****ERROR: Request
\"
both
\"
,
\"
neither
\"
,
\"
either
\"
,or
\"
notboth
\"
"
<<
endl
<<
"*****"
<<
endl
;
showHelp
=
true
;
}
...
...
@@ -160,11 +160,11 @@ void ShowHelp(void) {
cerr
<<
"
\t
-type
\t
"
<<
"Approach to reporting overlaps between A and B."
<<
endl
<<
endl
;
cerr
<<
"
\t\t
neither
\t
Report overlaps if neither end of A overlaps B."
<<
endl
;
cerr
<<
"
\t\t
either
\t
Report overlaps if either ends of A overlap B."
<<
endl
;
cerr
<<
"
\t\t
both
\t
Report overlaps if both ends of A overlap B."
<<
endl
;
cerr
<<
"
\t\t\t
- Default = both."
<<
endl
<<
endl
;
cerr
<<
"
\t\t
notboth
\t
Report overlaps if one or neither of ends of A overlap B."
<<
endl
;
cerr
<<
"
\t\t
- Default = both."
<<
endl
<<
endl
;
cerr
<<
"
\t
-slop
\t
"
<<
"The amount of slop (in b.p.). to be added to each footprint."
<<
endl
;
cerr
<<
"
\t\t
*Note*: Slop is subtracted from start1 and start2 and added to end1 and end2."
<<
endl
<<
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