must add all features even if start and end res are beyond sequence length
authoramwaterhouse <Andrew Waterhouse>
Fri, 11 Feb 2005 14:07:49 +0000 (14:07 +0000)
committeramwaterhouse <Andrew Waterhouse>
Fri, 11 Feb 2005 14:07:49 +0000 (14:07 +0000)
src/jalview/analysis/SequenceFeatureFetcher.java

index 6560504..4ad1f45 100755 (executable)
@@ -202,16 +202,12 @@ void ReadUniprotFile(String [] result, RandomAccessFile out, AlignmentI align)
        if(out!=null)\r
          try{ out.writeBytes("</feature>\n"); }catch(Exception ex){}\r
 \r
-\r
-       if(sstart>=sequence.getStart() && eend<=sequence.getEnd())\r
-       {\r
          SequenceFeature sf = new SequenceFeature(type,\r
              sstart,\r
              eend,\r
              description,\r
              status);\r
          features.add(sf);\r
-       }\r
      }\r
 \r
      if(result[r].indexOf("<sequence")>-1)\r