From: Heng Li Date: Fri, 27 Mar 2009 15:09:50 +0000 (+0000) Subject: * samtools-0.1.2-18 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=c311a7ff8c8f704ff8bdcba9f61967148201c008;p=samtools.git * samtools-0.1.2-18 * fixed a minor bug reported by Nils Homer --- diff --git a/bam_plcmd.c b/bam_plcmd.c index 79d0e63..b85fb86 100644 --- a/bam_plcmd.c +++ b/bam_plcmd.c @@ -260,7 +260,7 @@ int bam_pileup(int argc, char *argv[]) case 'f': fn_fa = strdup(optarg); break; case 'T': d->c->theta = atof(optarg); break; case 'N': d->c->n_hap = atoi(optarg); break; - case 'r': d->c->het_rate = atoi(optarg); break; + case 'r': d->c->het_rate = atof(optarg); break; case 'c': d->format |= BAM_PLF_CNS; break; case 'i': d->format |= BAM_PLF_INDEL_ONLY; break; case 'm': d->mask = atoi(optarg); break; @@ -272,7 +272,7 @@ int bam_pileup(int argc, char *argv[]) } if (optind == argc) { fprintf(stderr, "\n"); - fprintf(stderr, "Usage: bamtk pileup [options] |\n\n"); + fprintf(stderr, "Usage: samtools pileup [options] |\n\n"); fprintf(stderr, "Option: -s simple (yet incomplete) pileup format\n"); fprintf(stderr, " -i only show lines/consensus with indels\n"); fprintf(stderr, " -m INT filtering reads with bits in INT [%d]\n", d->mask); diff --git a/bamtk.c b/bamtk.c index 6f0ff99..494bd6f 100644 --- a/bamtk.c +++ b/bamtk.c @@ -3,7 +3,7 @@ #include "bam.h" #ifndef PACKAGE_VERSION -#define PACKAGE_VERSION "0.1.2-17" +#define PACKAGE_VERSION "0.1.2-18" #endif int bam_taf2baf(int argc, char *argv[]);