Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ensembl
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
ensembl
Commits
e7ca5075
Commit
e7ca5075
authored
22 years ago
by
Arne Stabenau
Browse files
Options
Downloads
Patches
Plain Diff
rawcontig.t --> rawContig.t
parent
eeebd5e9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/t/gene.t
+14
-2
14 additions, 2 deletions
modules/t/gene.t
modules/t/rawcontig.t
+0
-51
0 additions, 51 deletions
modules/t/rawcontig.t
with
14 additions
and
53 deletions
modules/t/gene.t
+
14
−
2
View file @
e7ca5075
...
...
@@ -2,7 +2,7 @@ use lib 't';
BEGIN
{
$|
=
1
;
use
Test
;
plan
tests
=>
2
1
;
plan
tests
=>
2
2
;
}
my
$loaded
=
0
;
...
...
@@ -14,7 +14,7 @@ use Bio::EnsEMBL::Gene;
$loaded
=
1
;
# switch on the debug prints
my
$verbose
=
0
;
my
$verbose
=
1
;
ok
(
1
);
...
...
@@ -201,6 +201,18 @@ foreach my $trans( @{$gene_out->get_all_Transcripts()} ){
ok
(
$translate
==
1
);
my
$t
=
$gene_out
->
get_all_Transcripts
()
->
[
1
];
my
$e
=
$t
->
get_all_Exons
()
->
[
0
];
my
$pep1
=
$t
->
translate
()
->
seq
();
$e
->
phase
(
1
);
my
$pep2
=
$t
->
translate
()
->
seq
();
debug
(
"
Pep phase 0:
$pep1
"
);
debug
(
"
Pep phase 1:
$pep2
"
);
ok
(
$pep1
ne
$pep2
);
$multi
->
restore
();
...
...
This diff is collapsed.
Click to expand it.
modules/t/rawcontig.t
deleted
100755 → 0
+
0
−
51
View file @
eeebd5e9
use
lib
'
t
';
BEGIN
{
$|
=
1
;
use
Test
;
plan
tests
=>
8
;
}
my
$loaded
=
0
;
END
{
print
"
not ok 1
\n
"
unless
$loaded
;}
use
EnsTestDB
;
use
Bio::EnsEMBL::
DBLoader
;
$loaded
=
1
;
ok
(
1
);
# Database will be dropped when this
# object goes out of scope
my
$ens_test
=
EnsTestDB
->
new
;
$ens_test
->
do_sql_file
("
t/minidatabase.dump
");
ok
(
$ens_test
);
my
$db
=
$ens_test
->
get_DBSQL_Obj
;
$cadp
=
$db
->
get_RawContigAdaptor
();
$contig
=
$cadp
->
fetch_by_dbID
(
1
);
ok
(
$contig
);
$contig
=
$cadp
->
fetch_by_name
('
dummy-contig-1
');
ok
(
$contig
->
dbID
==
1
);
ok
(
$contig
->
name
eq
'
dummy-contig-1
');
$clone
=
$contig
->
clone
();
ok
(
$clone
);
ok
(
$clone
->
id
eq
'
dummy-embl-acc
');
ok
(
$contig
->
seq
);
This diff is collapsed.
Click to expand it.
Preview
0%
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