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
bf296c8c
Commit
bf296c8c
authored
11 years ago
by
nkindlon
Browse files
Options
Downloads
Patches
Plain Diff
Added unit test to intersect for gff files.
parent
d0fb3059
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
test/intersect/gdc.gff
+12
-0
12 additions, 0 deletions
test/intersect/gdc.gff
test/intersect/gdc_one.bed
+1
-0
1 addition, 0 deletions
test/intersect/gdc_one.bed
test/intersect/new_test-intersect.sh
+13
-1
13 additions, 1 deletion
test/intersect/new_test-intersect.sh
with
26 additions
and
1 deletion
test/intersect/gdc.gff
0 → 100644
+
12
−
0
View file @
bf296c8c
chr2L . UTR 41 70 0 + . ID=mRNA:xs2:UTR:41-70;Parent=mRNA:xs2;
chr2L . CDS 71 130 0 + . ID=mRNA:xs2:CDS:71-130;Parent=mRNA:xs2;
chr2L . intron 131 170 0 + . ID=mRNA:xs2:intron:131-170;Parent=mRNA:xs2;
chr2L . CDS 171 200 0 + . ID=mRNA:xs2:CDS:171-200;Parent=mRNA:xs2;
chr2L . UTR 201 220 0 + . ID=mRNA:xs2:UTR:201-220;Parent=mRNA:xs2;
chr2L . exon 41 130 0 + . ID=mRNA:xs2:exon:41-130;Parent=mRNA:xs2;
chr2L . exon 171 220 0 + . ID=mRNA:xs2:exon:171-220;Parent=mRNA:xs2;
chr2L . mRNA 41 220 0 + . ID=mRNA:xs2;Parent=g2;
chr2L . CDS 161 230 0 - . ID=tRNA:t2:CDS:161-230;Parent=tRNA:t2;
chr2L . exon 161 230 0 - . ID=tRNA:t2:exon:161-230;Parent=tRNA:t2;
chr2L . tRNA 161 230 0 - . ID=tRNA:t2;Parent=t2;
chr2L . gene 41 220 0 + . ID=g2;
This diff is collapsed.
Click to expand it.
test/intersect/gdc_one.bed
0 → 100644
+
1
−
0
View file @
bf296c8c
chr2L 50 100
This diff is collapsed.
Click to expand it.
test/intersect/new_test-intersect.sh
+
13
−
1
View file @
bf296c8c
...
...
@@ -650,7 +650,19 @@ check obs exp
rm
obs exp
###########################################################
# Test that gff files work correctly
############################################################
echo
" intersect.new.t55...
\c
"
echo
\
"chr2L . UTR 50 70 0 + . ID=mRNA:xs2:UTR:41-70;Parent=mRNA:xs2;
chr2L . CDS 71 100 0 + . ID=mRNA:xs2:CDS:71-130;Parent=mRNA:xs2;
chr2L . exon 50 100 0 + . ID=mRNA:xs2:exon:41-130;Parent=mRNA:xs2;
chr2L . mRNA 50 100 0 + . ID=mRNA:xs2;Parent=g2;
chr2L . gene 50 100 0 + . ID=g2;"
>
exp
$BT
intersect
-a
gdc.gff
-b
gdc_one.bed
>
obs
check obs exp
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