From 4b46b352b1a6aef96c2c09835335ef40f0b0d8fc Mon Sep 17 00:00:00 2001 From: cmzmasek Date: Wed, 8 Aug 2012 13:28:48 +0000 Subject: [PATCH] work for rrm project (ComPhy 2012 Moscow) --- forester/java/src/org/forester/application/aa.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/forester/java/src/org/forester/application/aa.java b/forester/java/src/org/forester/application/aa.java index 6d7be4f..1ae5dfb 100644 --- a/forester/java/src/org/forester/application/aa.java +++ b/forester/java/src/org/forester/application/aa.java @@ -45,6 +45,11 @@ public class aa { } } if ( found > 0 ) { + for( final Sequence found_seq : found_seqs ) { + if ( found_seq.getLength() >= 85 ) { + all_found_seqs.add( found_seq ); + } + } if ( found > 1 ) { System.out.println( i + ": " + id + "=>" + id_ + " " + range ); System.out.println( " found: " + found ); @@ -58,6 +63,10 @@ public class aa { System.exit( -1 ); } } + int i = 0; + for( Sequence sequence : all_found_seqs ) { + System.out.println( i++ + ": " + sequence ); + } System.out.println( "DONE." ); } catch ( final Exception e ) { -- 1.7.10.2