~ubuntu-branches/ubuntu/edgy/ncbi-tools6/edgy

« back to all changes in this revision

Viewing changes to demo/copymat.c

  • Committer: Bazaar Package Importer
  • Author(s): Barry deFreese
  • Date: 2006-07-19 23:28:07 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20060719232807-et3cdmcjgmnyleyx
Tags: 6.1.20060507-3ubuntu1
Re-merge with Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
static char const rcsid[] = "$Id: copymat.c,v 6.42 2005/05/20 18:57:51 camacho Exp $";
 
1
static char const rcsid[] = "$Id: copymat.c,v 6.44 2005/12/22 14:22:19 papadopo Exp $";
2
2
 
3
3
/*
4
4
* ===========================================================================
36
36
score matrices output by makematrices into a single byte-encoded file.
37
37
   
38
38
$Log: copymat.c,v $
 
39
Revision 6.44  2005/12/22 14:22:19  papadopo
 
40
change signature of BLAST_FillLookupTableOptions
 
41
 
 
42
Revision 6.43  2005/12/20 15:36:39  papadopo
 
43
change name of structure field
 
44
 
39
45
Revision 6.42  2005/05/20 18:57:51  camacho
40
46
Update to use new signature to BLAST_FillLookupTableOptions
41
47
 
428
434
    Int4 offset_diff;
429
435
 
430
436
    len = lookup->backbone_size;
431
 
    offset_diff = lookup->wordsize - 1;
 
437
    offset_diff = lookup->word_length - 1;
432
438
 
433
439
    /* Walk through table, copying info into mod_lt[] */
434
440
    for(index = 0; index < len; index++) {
612
618
    RPSPsiMatrixAttach(sbp, posMatrix);
613
619
    LookupTableOptionsNew(eBlastTypeBlastp, &lookup_options);
614
620
    BLAST_FillLookupTableOptions(lookup_options, eBlastTypePsiBlast, FALSE, 
615
 
        (Int4) (myargs[3].floatvalue*scalingFactor), myargs[4].intvalue, FALSE);
 
621
        (Int4) (myargs[3].floatvalue*scalingFactor), myargs[4].intvalue);
616
622
 
617
623
 
618
624
    BlastSeqLocNew(&lookup_segment, 0, all_length);