Skip to content
Snippets Groups Projects
Select Git revision
  • ff75a69db28cf85455c71080bb7eaf8040de26fa
  • master default protected
  • gh-pages
  • build-process-upgrade-merge
  • eb-apollo-generate_names
  • BT5_travis
  • hello_github
  • v18.1.0
  • v18.0.3
  • v18.0.2
  • v18.0.1
  • v18.0.0
  • v18.0.0-RC1
  • v17.0.1
  • v17.0.0
  • v16.0.17
  • v16.0.0
  • v15.0.0
  • v14.0.0
  • v13.2.0
20 results

BlastM8ComparisonData.java

Blame
  • BlastM8ComparisonData.java 4.76 KiB
    /* BlastM8ComparisonData.java
     *
     * created: Tue Apr 30 2002
     *
     * This file is part of Artemis
     * 
     * Copyright (C) 2002  Genome Research Limited
     * 
     * This program is free software; you can redistribute it and/or
     * modify it under the terms of the GNU General Public License
     * as published by the Free Software Foundation; either version 2
     * of the License, or (at your option) any later version.
     * 
     * This program is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     * GNU General Public License for more details.
     * 
     * You should have received a copy of the GNU General Public License
     * along with this program; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
     *
     * $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/BlastM8ComparisonData.java,v 1.2 2007-02-27 10:24:32 tjc Exp $
     */
    
    package uk.ac.sanger.artemis;
    
    import uk.ac.sanger.artemis.util.LinePushBackReader;
    
    import java.io.*;
    import java.util.StringTokenizer;
    import java.util.Vector;
    
    /**
     *  This class implements the ComparisonData interface for blastall -m 8
     *  output.
     *
     *  @author Kim Rutherford <kmr@sanger.ac.uk>
     *  @version $Id: BlastM8ComparisonData.java,v 1.2 2007-02-27 10:24:32 tjc Exp $
     **/
    
    public class BlastM8ComparisonData extends SimpleComparisonData {
      /**
       *  Create a new BlastM8ComparisonData by reading from the given
       *  LinePushBackReader.
       **/
      public BlastM8ComparisonData (final LinePushBackReader stream)
          throws IOException {
        super (stream);
      }
    
      /**
       *  Create a new, empty instance of BlastM8ComparisonData.
       **/
      public BlastM8ComparisonData () {
        
      }
    
      /**
       *  Returns a new, empty instance of this type of object;
       **/
      protected SimpleComparisonData getNewSimpleComparisonData () {
        return new BlastM8ComparisonData ();
      }
    
    
      /**
       *  Make an AlignMatch object from the given String.
       **/
      private static AlignMatch makeMatchFromStringStatic (String line)