Quote:
Originally Posted by prometheuzz
That splitting of your String and increasing with 2 in your for loop looks dangerous. Perhaps I (or someone else) can suggest a better approach. But then you first need to explain what is you're trying to do.
So given the String:
- "P48534\nEXP value is: e-10\nQ0543\nEXP value is: 4e-07"
what is it you're trying to extract and/or group?
I am trying to do a workflow with taverna, which has a beanshell, where i can write a script in it.
In my workflow i will have the output of a blast search, GI number, which are the P23234 or Q12344 or A12443 or only numbers and also a E-value, which is the EXP vaule is: e-10.
From that output i want to extract the GI numbers which have an e-value<= 0.02. The way i thought i could extract was with regular expressions in java, but the way i wrote the script it is not working.
I think it is more clear what i want to do, but if you need more explanation please ask.
Mokita