001 /* 002 * Copyright 2007, 2012 Stephen Fisher and Junhyong Kim, University of 003 * Pennsylvania. 004 * 005 * This file is part of Glo-DB. 006 * 007 * Glo-DB is free software: you can redistribute it and/or modify it 008 * under the terms of the GNU General Public License as published by 009 * the Free Software Foundation, either version 3 of the License, or 010 * (at your option) any later version. 011 * 012 * Glo-DB is distributed in the hope that it will be useful, but 013 * WITHOUT ANY WARRANTY; without even the implied warranty of 014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 015 * General Public License for more details. 016 * 017 * You should have received a copy of the GNU General Public License 018 * along with Glo-DB. If not, see <http://www.gnu.org/licenses/>. 019 * 020 * @(#)FASTAParser.java 021 */ 022 023 package edu.upenn.gloDB.io; 024 025 // import edu.upenn.gloDB.*; 026 import java.util.HashMap; 027 028 /** 029 * Interface for parsing of FASTA headers. Since there is no standard 030 * for FASTA headers, this allows for users to define their own parser 031 * if necessary. 032 * 033 * @author Stephen Fisher 034 * @version $Id: FASTAParser.java,v 1.3.2.3 2005/01/07 19:56:59 fisher Exp $ 035 */ 036 037 public interface FASTAParser { 038 039 public HashMap parseHeader(String header); 040 041 } // FASTAParser.java