~ubuntu-branches/ubuntu/vivid/ncbi-tools6/vivid

« back to all changes in this revision

Viewing changes to algo/blast/core/blast_options.c

  • Committer: Package Import Robot
  • Author(s): Aaron M. Ucko, Andreas Tille
  • Date: 2012-06-24 22:54:29 UTC
  • mfrom: (1.1.12)
  • Revision ID: package-import@ubuntu.com-20120624225429-y81u0gzrppi3fhyf
Tags: 6.1.20120620-2
[ Andreas Tille ]
debian/upstream: Strings containing ': ' need to be quoted.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: blast_options.c,v 1.215 2011/02/09 14:39:32 kazimird Exp $
 
1
/* $Id: blast_options.c,v 1.217 2012/04/20 12:54:33 kazimird Exp $
2
2
 * ===========================================================================
3
3
 *
4
4
 *                            PUBLIC DOMAIN NOTICE
34
34
 
35
35
#ifndef SKIP_DOXYGEN_PROCESSING
36
36
static char const rcsid[] = 
37
 
    "$Id: blast_options.c,v 1.215 2011/02/09 14:39:32 kazimird Exp $";
 
37
    "$Id: blast_options.c,v 1.217 2012/04/20 12:54:33 kazimird Exp $";
38
38
#endif /* SKIP_DOXYGEN_PROCESSING */
39
39
 
40
40
#include <algo/blast/core/blast_options.h>
1616
1616
    if (ext_options->compositionBasedStats != eNoCompositionBasedStats)
1617
1617
    {
1618
1618
            if (!Blast_QueryIsPssm(program_number) && program_number != eBlastTypeTblastn && 
1619
 
                 program_number != eBlastTypeBlastp) {
 
1619
                 program_number != eBlastTypeBlastp &&
 
1620
                 program_number != eBlastTypeBlastx &&
 
1621
                 program_number != eBlastTypePsiBlast) {
1620
1622
                        Blast_MessageWrite(blast_msg, eBlastSevWarning, kBlastMessageNoContext,
1621
 
                            "Compositional adjustments are only supported with blastp or tblastn");
 
1623
                            "Compositional adjustments are only supported with blastp, blastx, or tblastn");
1622
1624
                        return BLASTERR_OPTION_VALUE_INVALID;
1623
1625
            }
1624
1626
            if (!score_options->gapped_calculation) {