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
a21804fc
Commit
a21804fc
authored
8 years ago
by
premanand17
Browse files
Options
Downloads
Patches
Plain Diff
Added transl_table qualifier to genbank and embl flat file dumps -
ENSCORESW-1971
parent
a1098db4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!168
Enscoresw 1971
,
!168
Enscoresw 1971
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/t/seqDumper.t
+13
-0
13 additions, 0 deletions
modules/t/seqDumper.t
modules/t/test-genome-DBs/homo_sapiens/core/exon_transcript.txt
+1
-1
1 addition, 1 deletion
...s/t/test-genome-DBs/homo_sapiens/core/exon_transcript.txt
with
14 additions
and
1 deletion
modules/t/seqDumper.t
+
13
−
0
View file @
a21804fc
...
...
@@ -105,7 +105,20 @@ my $index_count_fh = sub {
is
(
scalar
(
@
{
$lines
}),
1
,
'
Expect only 1 EMBL SQ line describing a sequence
');
is
(
$lines
->
[
0
],
'
SQ Sequence 100001 BP; 24986 A; 24316 C; 24224 G; 26475 T; 0 other;
',
'
Formatting of SQ as expected
');
}
# check if transl_table is included
$sd
=
Bio::EnsEMBL::Utils::
SeqDumper
->
new
();
$sd
->
{
feature_types
}
->
{
$_
}
=
0
for
keys
%
{
$sd
->
{
feature_types
}};
$sd
->
{
feature_types
}
->
{'
gene
'}
=
1
;
{
my
$mt_slice
=
$slice_adaptor
->
fetch_by_region
('
chromosome
',
'
MT_NC_001807
',
10060
,
10405
);
my
$fh
=
IO::
String
->
new
();
$sd
->
dump_embl
(
$mt_slice
,
$fh
);
my
$lines
=
$index_fh
->
(
$fh
,
'
FT
');
like
(
$lines
->
[
9
],
qr/FT\s+\/
transl_table
=
2
/
,
"
Expected transl_table line at FT CDS
");
}
{
my
$fh
=
IO::
String
->
new
();
$sd
->
dump_genbank
(
$slice
,
$fh
);
...
...
This diff is collapsed.
Click to expand it.
modules/t/test-genome-DBs/homo_sapiens/core/exon_transcript.txt
+
1
−
1
View file @
a21804fc
...
...
@@ -168,6 +168,6 @@
162030 21739 1
162031 21739 4
162032 21739 3
162033 21740
0
162033 21740
1
162034 21741 1
162035 21741 2
\ No newline at end of file
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