*/
package jalview.ws.jws2;
-import jalview.api.AlignCalcWorkerI;
import jalview.datamodel.AlignmentAnnotation;
import jalview.datamodel.Annotation;
import jalview.gui.AlignFrame;
import compbio.metadata.Argument;
public class JPred301Client extends JabawsMsaInterfaceAlignCalcWorker
- implements AlignCalcWorkerI
{
-
/**
*
* @return default args for this service when run as dynamic web service
return (seqs.size() > 1);
}
+ @Override
public String getServiceActionText()
{
return "calculating consensus secondary structure prediction using JPred service";
* update the consensus annotation from the sequence profile data using
* current visualization settings.
*/
+ @Override
public void updateResultAnnotation(boolean immediate)
{
if (immediate || !calcMan.isWorking(this) && msascoreset != null)
String[] k = jpredRowLabels.get(fsq.getId());
if (k == null)
{
- k = new String[]
- { fsq.getId(), "JNet Output" };
+ k = new String[] { fsq.getId(), "JNet Output" };
}
if (fsq.getId().startsWith("JNETSOL"))
{
{
sol[spos] = '0';
}
- if (vseq[spos] == 'B' && (sol[spos]=='0' || sol[spos] < amnt))
+ if (vseq[spos] == 'B'
+ && (sol[spos] == '0' || sol[spos] < amnt))
{
sol[spos] = amnt;
}
try
{
elm[i] = new Annotation("" + annot, "" + annot, annot,
- Integer.valueOf(""+annot));
+ Integer.valueOf("" + annot));
} catch (Exception x)
{
System.err.println("Expected numeric value in character '"