X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=binaries%2Fsrc%2Fclustalo%2Fsrc%2Fhhalign%2Fhhfullalignment.h;fp=binaries%2Fsrc%2Fclustalo%2Fsrc%2Fhhalign%2Fhhfullalignment.h;h=43c1cbd406d35b065e7693791bf6b71b723b166b;hb=35947b9e0b6ae1be74f17d15cd6a65ceadc6d310;hp=0000000000000000000000000000000000000000;hpb=e7bf02d1c203bc8d88b9095e89d5ca6cce21a882;p=jabaws.git diff --git a/binaries/src/clustalo/src/hhalign/hhfullalignment.h b/binaries/src/clustalo/src/hhalign/hhfullalignment.h new file mode 100644 index 0000000..43c1cbd --- /dev/null +++ b/binaries/src/clustalo/src/hhalign/hhfullalignment.h @@ -0,0 +1,49 @@ +/* -*- mode: c; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ + +/********************************************************************* + * Clustal Omega - Multiple sequence alignment + * + * Copyright (C) 2010 University College Dublin + * + * Clustal-Omega 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 file is part of Clustal-Omega. + * + ********************************************************************/ + +/* + * RCS $Id: hhfullalignment.h 243 2011-05-31 13:49:19Z fabian $ + */ + +////////////////////////////////////////////////////////////////////////////// +// Class for output alignment of query against template sequences +////////////////////////////////////////////////////////////////////////////// + +class FullAlignment +{ +public: + FullAlignment(int maxseqdis=MAXSEQDIS); + ~FullAlignment(); + void FreeMemory(); + int Build(HMM& q, Hit& hit); + void PrintHeader(FILE* outf, HMM& q, Hit& hit); + void PrintHHR(FILE* outf, Hit& hit); + void PrintA2M(FILE* outf, Hit& hit); + void PrintFASTA(FILE* outf, Hit& hit); + void PrintA3M(FILE* outf, Hit& hit); + void OverWriteSeqs(char **ppcFirstProf, char **ppcSecndProf); + int identities; // number of identical residues in query and template sequence + float score_sim; // substitution matrix similarity score between query and template + +private: + HalfAlignment* qa; //query and template parts of the alignment + HalfAlignment* ta; //query and template parts of the alignment + char symbol[LINELEN]; //symbol[h] = symbol (= - . + |) indicating match score for col h of alignment + void ClearSymbols() {for (int h=0; h