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
5082a608
Commit
5082a608
authored
Oct 15, 2002
by
Simon Potter
Browse files
fix to prevent duplicate TRF features being stored
- needs testing
parent
ca9e2638
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
modules/Bio/EnsEMBL/DBSQL/RepeatFeatureAdaptor.pm
modules/Bio/EnsEMBL/DBSQL/RepeatFeatureAdaptor.pm
+8
-1
No files found.
modules/Bio/EnsEMBL/DBSQL/RepeatFeatureAdaptor.pm
View file @
5082a608
...
...
@@ -258,7 +258,14 @@ sub store {
if
(
$cons
->
repeat_class
eq
'
trf
')
{
$rca
->
store
(
$cons
);
# Look for matches already stored
my
@match
=
$rca
->
fetch_by_class_seq
('
trf
',
$cons
->
repeat_consensus
);
if
(
@match
)
{
$cons
->
dbID
(
$match
[
0
]
->
dbID
());
}
else
{
$rca
->
store
(
$cons
);
}
}
elsif
(
$cons
->
repeat_class
eq
'
Simple_repeat
')
{
...
...
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