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
b9c717e3
Commit
b9c717e3
authored
11 years ago
by
Charles Plessy
Browse files
Options
Downloads
Patches
Plain Diff
Access data via a DATA variable, allowing to override the location.
parent
c1fb7ab9
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
test/reldist/test-reldist.sh
+8
-7
8 additions, 7 deletions
test/reldist/test-reldist.sh
with
8 additions
and
7 deletions
test/reldist/test-reldist.sh
+
8
−
7
View file @
b9c717e3
BT
=
${
BT
-../../bin/bedtools
}
DATA
=
${
DATA
-../../data
}
check
()
{
...
...
@@ -17,8 +18,8 @@ echo " reldist.t01...\c"
echo
\
"reldist count total fraction
0.00 43424 43424 1.000"
>
exp
$BT
reldist
-a
../../data
/refseq.chr1.exons.bed.gz
\
-b
../../data
/refseq.chr1.exons.bed.gz
>
obs
$BT
reldist
-a
$DATA
/refseq.chr1.exons.bed.gz
\
-b
$DATA
/refseq.chr1.exons.bed.gz
>
obs
check obs exp
rm
obs exp
...
...
@@ -79,8 +80,8 @@ echo \
0.47 850 43408 0.020
0.48 1006 43408 0.023
0.49 937 43408 0.022"
>
exp
$BT
reldist
-a
../../data
/refseq.chr1.exons.bed.gz
\
-b
../../data
/aluY.chr1.bed.gz
>
obs
$BT
reldist
-a
$DATA
/refseq.chr1.exons.bed.gz
\
-b
$DATA
/aluY.chr1.bed.gz
>
obs
check obs exp
rm
obs exp
...
...
@@ -143,7 +144,7 @@ echo \
0.48 365 43422 0.008
0.49 336 43422 0.008
0.50 38 43422 0.001"
>
exp
$BT
reldist
-a
../../data
/refseq.chr1.exons.bed.gz
\
-b
../../data
/gerp.chr1.bed.gz
>
obs
$BT
reldist
-a
$DATA
/refseq.chr1.exons.bed.gz
\
-b
$DATA
/gerp.chr1.bed.gz
>
obs
check obs exp
rm
obs exp
\ No newline at end of file
rm
obs exp
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