00001 /* 00002 00003 Copyright (C) 2003-2009 Kevin Thornton, krthornt[]@[]uci.edu 00004 00005 Remove the brackets to email me. 00006 00007 This file is part of libsequence. 00008 00009 libsequence is free software: you can redistribute it and/or modify 00010 it under the terms of the GNU General Public License as published by 00011 the Free Software Foundation, either version 3 of the License, or 00012 (at your option) any later version. 00013 00014 libsequence is distributed in the hope that it will be useful, 00015 but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 GNU General Public License for more details. 00018 00019 You should have received a copy of the GNU General Public License 00020 long with libsequence. If not, see <http://www.gnu.org/licenses/>. 00021 00022 */ 00023 00042 #ifndef FASTA_H 00043 #define FASTA_H 00044 00045 #include <Sequence/Seq.hpp> 00046 00047 namespace Sequence 00048 { 00049 class Fasta : public Seq 00050 { 00051 private: 00052 public: 00053 Fasta():Seq() {} 00054 Fasta (const std::string &name, const std::string &seq); 00055 Fasta(const char *name, const char *seq); 00056 Fasta (const Seq & s); 00057 ~Fasta() {} 00065 std::istream& read(std::istream &s) 00066 throw (Sequence::badFormat,std::exception); 00071 std::ostream& print(std::ostream& s) const; 00072 }; 00073 } 00074 #endif
1.6.3