Commit d1e3e762 authored by Sascha Steinbiss's avatar Sascha Steinbiss
Browse files

change 'tritryp_uc' to 'eupathdb_uc'

parent 7153c6ed
...@@ -906,7 +906,7 @@ public class GFFStreamFeature extends SimpleDocumentFeature implements ...@@ -906,7 +906,7 @@ public class GFFStreamFeature extends SimpleDocumentFeature implements
Set<String> set = new HashSet<String>(); Set<String> set = new HashSet<String>();
if (values != null && values.size() > 0) { if (values != null && values.size() > 0) {
for (int value_index = 0; value_index < values.size(); ++value_index) { 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); Pattern pattern = Pattern.compile(regex, Pattern.CASE_INSENSITIVE);
Matcher matcher = pattern.matcher(values.elementAt(value_index)); Matcher matcher = pattern.matcher(values.elementAt(value_index));
while (matcher.find()) { while (matcher.find()) {
...@@ -949,8 +949,8 @@ public class GFFStreamFeature extends SimpleDocumentFeature implements ...@@ -949,8 +949,8 @@ public class GFFStreamFeature extends SimpleDocumentFeature implements
// also put TriTryp UC numbers into separate attribute // also put TriTryp UC numbers into separate attribute
abuf.setClone("history", "tritryp_uc"); abuf.setClone("history", "tritryp_uc");
abuf.setAggregator("tritryp_uc", ucProc); abuf.setAggregator("eupathdb_uc", ucProc);
abuf.setGlue("tritryp_uc", ","); abuf.setGlue("eupathdb_uc", ",");
// class // class
abuf.setAggregator("class", classProc); abuf.setAggregator("class", classProc);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment