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
8a63b8d7
Commit
8a63b8d7
authored
13 years ago
by
Aaron
Browse files
Options
Downloads
Patches
Plain Diff
Changed error message when BAM is not qeury sorted in pairToBed
parent
2de3d386
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/pairToBed/pairToBed.cpp
+2
-1
2 additions, 1 deletion
src/pairToBed/pairToBed.cpp
with
2 additions
and
1 deletion
src/pairToBed/pairToBed.cpp
+
2
−
1
View file @
8a63b8d7
...
@@ -32,6 +32,7 @@ bool IsCorrectMappingForBEDPE (const BamAlignment &bam) {
...
@@ -32,6 +32,7 @@ bool IsCorrectMappingForBEDPE (const BamAlignment &bam) {
Constructor
Constructor
*/
*/
BedIntersectPE
::
BedIntersectPE
(
string
bedAFilePE
,
string
bedBFile
,
float
overlapFraction
,
BedIntersectPE
::
BedIntersectPE
(
string
bedAFilePE
,
string
bedBFile
,
float
overlapFraction
,
string
searchType
,
bool
sameStrand
,
bool
diffStrand
,
bool
bamInput
,
string
searchType
,
bool
sameStrand
,
bool
diffStrand
,
bool
bamInput
,
bool
bamOutput
,
bool
uncompressedBam
,
bool
useEditDistance
)
{
bool
bamOutput
,
bool
uncompressedBam
,
bool
useEditDistance
)
{
...
@@ -419,7 +420,7 @@ void BedIntersectPE::IntersectBamPE(string bamFile) {
...
@@ -419,7 +420,7 @@ void BedIntersectPE::IntersectBamPE(string bamFile) {
ProcessBamBlock
(
bam1
,
bam2
,
refs
,
writer
);
ProcessBamBlock
(
bam1
,
bam2
,
refs
,
writer
);
}
}
else
{
else
{
cerr
<<
"*****ERROR:
-bedpe requires BAM to be sorted or group
ed by query name. "
<<
endl
;
cerr
<<
"*****ERROR:
BAM must be sort
ed by query name. "
<<
endl
;
exit
(
1
);
exit
(
1
);
}
}
}
}
...
...
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