From 1e31232ca2c48ae852b506fc637a2610c99b4c22 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Fri, 1 Apr 2005 16:44:57 +0000 Subject: [PATCH] parses jpredfile into new alignment annotation --- src/jalview/io/JPredClient.java | 99 ++++++++++++++++++++++++++++++++++----- 1 file changed, 88 insertions(+), 11 deletions(-) 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