From: amwaterhouse Date: Fri, 1 Apr 2005 16:44:57 +0000 (+0000) Subject: parses jpredfile into new alignment annotation X-Git-Tag: Release_2_0~495 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=1e31232ca2c48ae852b506fc637a2610c99b4c22;p=jalview.git parses jpredfile into new alignment annotation --- diff --git a/src/jalview/io/JPredClient.java b/src/jalview/io/JPredClient.java index c3415ee..7c2675d 100755 --- a/src/jalview/io/JPredClient.java +++ b/src/jalview/io/JPredClient.java @@ -154,30 +154,107 @@ public class JPredClient { output.setText(OutputHeader + result.getOutput()); try { + // JPredFile prediction = new JPredFile("C:/JalviewX/files/jpred.txt", "File"); JPredFile prediction=new JPredFile(result.getOutput(), "Paste"); SequenceI[] preds = prediction.getSeqsAsArray(); - int i=0; + Alignment al = new Alignment(preds); + + AlignmentAnnotation annot; + Annotation [] annotations = null; + int i = 0; // Rename the query sequence - while (i