Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
violethaze74
Artemis
Commits
d1e3e762
Commit
d1e3e762
authored
Jan 23, 2015
by
Sascha Steinbiss
Browse files
change 'tritryp_uc' to 'eupathdb_uc'
parent
7153c6ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
uk/ac/sanger/artemis/io/GFFStreamFeature.java
View file @
d1e3e762
...
...
@@ -906,7 +906,7 @@ public class GFFStreamFeature extends SimpleDocumentFeature implements
Set
<
String
>
set
=
new
HashSet
<
String
>();
if
(
values
!=
null
&&
values
.
size
()
>
0
)
{
for
(
int
value_index
=
0
;
value_index
<
values
.
size
();
++
value_index
)
{
String
regex
=
"
tritryp
_uc[:=]\"?([a-zA-Z0-9]+)"
;
String
regex
=
"
eupathdb
_uc[:=]\"?([a-zA-Z0-9]+)"
;
Pattern
pattern
=
Pattern
.
compile
(
regex
,
Pattern
.
CASE_INSENSITIVE
);
Matcher
matcher
=
pattern
.
matcher
(
values
.
elementAt
(
value_index
));
while
(
matcher
.
find
())
{
...
...
@@ -949,8 +949,8 @@ public class GFFStreamFeature extends SimpleDocumentFeature implements
// also put TriTryp UC numbers into separate attribute
abuf
.
setClone
(
"history"
,
"tritryp_uc"
);
abuf
.
setAggregator
(
"
tritryp
_uc"
,
ucProc
);
abuf
.
setGlue
(
"
tritryp
_uc"
,
","
);
abuf
.
setAggregator
(
"
eupathdb
_uc"
,
ucProc
);
abuf
.
setGlue
(
"
eupathdb
_uc"
,
","
);
// class
abuf
.
setAggregator
(
"class"
,
classProc
);
...
...
Write
Preview
Supports
Markdown
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