X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bam_plcmd.c;h=a879f47f5c16eb44ba0973cfdea7cce79eb27b0b;hb=50706bea83d8a1518485283876333279f4ae7137;hp=547b1e2007d48befb7a5430528037aa5e3b932ec;hpb=e6ca3f825fea0a18b6068905e3173ff19104e756;p=samtools.git diff --git a/bam_plcmd.c b/bam_plcmd.c index 547b1e2..a879f47 100644 --- a/bam_plcmd.c +++ b/bam_plcmd.c @@ -623,7 +623,7 @@ static void group_smpl(mplp_pileup_t *m, bam_sample_t *sm, kstring_t *buf, if (id < 0) id = bam_smpl_rg2smid(sm, fn[i], 0, buf); if (id < 0 || id >= m->n) { assert(q); // otherwise a bug - fprintf(stderr, "[%s] Read group %s used in file %s but not defined in the header.\n", __func__, (char*)q+1, fn[i]); + fprintf(stderr, "[%s] Read group %s used in file %s but absent from the header or an alignment missing read group.\n", __func__, (char*)q+1, fn[i]); exit(1); } if (m->n_plp[id] == m->m_plp[id]) { @@ -742,7 +742,7 @@ static int mpileup(mplp_conf_t *conf, int n, char **fn) fprintf(stderr, "(%s) Max depth is above 1M. Potential memory hog!\n", __func__); if (max_depth * sm->n < 8000) { max_depth = 8000 / sm->n; - fprintf(stderr, "<%s> Set max per-sample depth to %d\n", __func__, max_depth); + fprintf(stderr, "<%s> Set max per-file depth to %d\n", __func__, max_depth); } max_indel_depth = conf->max_indel_depth * sm->n; bam_mplp_set_maxcnt(iter, max_depth);