Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl
Commits
077ec5b4
Commit
077ec5b4
authored
Jan 28, 2008
by
Ian Longden
Browse files
removed regulatory calls
parent
56f2806c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
16 deletions
+2
-16
modules/t/gene.t
modules/t/gene.t
+1
-10
modules/t/transcript.t
modules/t/transcript.t
+1
-6
No files found.
modules/t/gene.t
View file @
077ec5b4
...
...
@@ -3,7 +3,7 @@ use warnings;
BEGIN
{
$|
=
1
;
use
Test
;
plan
tests
=>
8
6
;
plan
tests
=>
8
4
;
}
use
Bio::EnsEMBL::Test::
MultiTestDB
;
...
...
@@ -633,15 +633,6 @@ ok($dbe_id && $dbe_id == $dbe->dbID());
$multi
->
restore
();
# test regulatory feature retrieval
my
$rf_gene
=
$ga
->
fetch_by_dbID
(
18256
);
#ok(@{$rf_gene->get_all_regulatory_features()} == 1); # non-recursive
ok
(
@
{
$rf_gene
->
get_all_regulatory_features
(
1
)}
==
12
);
# recursive
# test getting coded-for regulatory factors
$gene
=
$ga
->
fetch_by_dbID
(
18271
);
my
@factors
=
@
{
$gene
->
fetch_coded_for_regulatory_factors
()};
ok
(
$factors
[
0
]
->
dbID
()
==
5
);
#
# tests for multiple versions of genes in a database
...
...
modules/t/transcript.t
View file @
077ec5b4
...
...
@@ -4,7 +4,7 @@ use vars qw( $verbose );
BEGIN
{
$|
=
1
;
use
Test
;
plan
tests
=>
15
2
;
plan
tests
=>
15
1
;
}
use
Bio::EnsEMBL::Test::
MultiTestDB
;
...
...
@@ -699,11 +699,6 @@ sub test_trans_mapper_edits {
print_coords
(
\
@coords
);
}
# test getting coded-for regualtory factors
my
$transcript_adaptor
=
$db
->
get_TranscriptAdaptor
();
my
$transcript
=
$transcript_adaptor
->
fetch_by_dbID
(
21717
);
my
@factors
=
@
{
$transcript
->
fetch_coded_for_regulatory_factors
()};
ok
(
$factors
[
0
]
->
dbID
()
==
2
);
#sleep 10;
# test fetching by supporting evidence
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment