[med-svn] samtools 06/26: Fixed GCC section so that read cycle column begins with 1 instead of 0.
Charles Plessy
plessy at moszumanska.debian.org
Tue Dec 10 10:06:25 UTC 2013
This is an automated email from the git hooks/post-receive script.
plessy pushed a commit to branch debian/unstable
in repository samtools.
commit ab349a269aa8575a64e7d81dd50c5b7a1e1233e4
Author: Joshua Randall <joshua.randall at sanger.ac.uk>
Date: Mon Nov 25 13:41:42 2013 +0000
Fixed GCC section so that read cycle column begins with 1 instead of 0.
---
stats.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stats.c b/stats.c
index 2bfce6c..7500271 100644
--- a/stats.c
+++ b/stats.c
@@ -994,7 +994,7 @@ void output_stats(stats_t *stats)
uint64_t *ptr = &(stats->acgt_cycles[ibase*4]);
uint64_t sum = ptr[0]+ptr[1]+ptr[2]+ptr[3];
if ( ! sum ) continue;
- printf("GCC\t%d\t%.2f\t%.2f\t%.2f\t%.2f\n", ibase,100.*ptr[0]/sum,100.*ptr[1]/sum,100.*ptr[2]/sum,100.*ptr[3]/sum);
+ printf("GCC\t%d\t%.2f\t%.2f\t%.2f\t%.2f\n", ibase+1,100.*ptr[0]/sum,100.*ptr[1]/sum,100.*ptr[2]/sum,100.*ptr[3]/sum);
}
printf("# Insert sizes. Use `grep ^IS | cut -f 2-` to extract this part. The columns are: pairs total, inward oriented pairs, outward oriented pairs, other pairs\n");
for (isize=0; isize<ibulk; isize++)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/samtools.git
More information about the debian-med-commit
mailing list