~ubuntu-branches/ubuntu/quantal/samtools/quantal

« back to all changes in this revision

Viewing changes to bam_plcmd.c

  • Committer: Bazaar Package Importer
  • Author(s): Charles Plessy
  • Date: 2009-09-14 21:58:36 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090914215836-27bfc2lrtr0xfnhz
Tags: 0.1.6~dfsg-1
* New upstream release.
* Upstream sources repackaged to remove the win32 directory:
  - The removal was done with git-import-orig in a parallel Git repository,
    and the corresponding debian/gbp.conf file was added to this package.
  - Mangled the ~dfsg string of the Debian version in debian/watch.
  - Added a debian/README.source file and explanations in debian/copyright.

Show diffs side-by-side

added added

removed removed

Lines of Context:
284
284
                printf("%d\t%d\t", rms_mapq, n);
285
285
                printf("%s\t%s\t", r->s[0], r->s[1]);
286
286
                //printf("%d\t%d\t", r->gl[0], r->gl[1]);
287
 
                printf("%d\t%d\t%d\n", r->cnt1, r->cnt2, r->cnt_anti);
 
287
                printf("%d\t%d\t%d\t", r->cnt1, r->cnt2, r->cnt_anti);
 
288
                printf("%d\t%d\n", r->cnt_ref, r->cnt_ambi);
288
289
                bam_maqindel_ret_destroy(r);
289
290
        }
290
291
        return 0;
330
331
                fprintf(stderr, "        -i        only show lines/consensus with indels\n");
331
332
                fprintf(stderr, "        -m INT    filtering reads with bits in INT [%d]\n", d->mask);
332
333
                fprintf(stderr, "        -M INT    cap mapping quality at INT [%d]\n", d->c->cap_mapQ);
333
 
                fprintf(stderr, "        -t FILE   list of reference sequences (assume the input is in SAM)\n");
 
334
                fprintf(stderr, "        -t FILE   list of reference sequences (force -S)\n");
334
335
                fprintf(stderr, "        -l FILE   list of sites at which pileup is output\n");
335
336
                fprintf(stderr, "        -f FILE   reference sequence in the FASTA format\n\n");
336
337
                fprintf(stderr, "        -c        output the maq consensus sequence\n");
356
357
        }
357
358
        if (d->fai == 0 && (d->format & (BAM_PLF_CNS|BAM_PLF_INDEL_ONLY)))
358
359
                fprintf(stderr, "[bam_pileup] indels will not be called when -f is absent.\n");
 
360
        if (fn_fa && is_SAM && fn_list == 0) fn_list = samfaipath(fn_fa);
 
361
 
359
362
        {
360
363
                samfile_t *fp;
361
364
                fp = is_SAM? samopen(argv[optind], "r", fn_list) : samopen(argv[optind], "rb", 0);