From 1e6e1974dacae42d802ced06dc3e3bf4e928a43e Mon Sep 17 00:00:00 2001 From: Brandi Cantarel <brandi.cantarel@utsouthwestern.edu> Date: Thu, 31 Jan 2019 08:57:13 -0600 Subject: [PATCH] integer concat_cts.pl --- genect_rnaseq/concat_cts.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genect_rnaseq/concat_cts.pl b/genect_rnaseq/concat_cts.pl index b36bd22..3d50b3a 100755 --- a/genect_rnaseq/concat_cts.pl +++ b/genect_rnaseq/concat_cts.pl @@ -78,7 +78,7 @@ foreach $gene (keys %cts) { } $cpm = ($cts{$gene}{$sample}/$total{$sample})*1e6; push @cpm, sprintf("%.2f",log2($cpm)); - push @line, $cts{$gene}{$sample}; + push @line, sprintf("%.0f",$cts{$gene}{$sample}); } my @sortct = sort {$b cmp $a} @cpm; #next unless ($sortct[0] >= 1); -- GitLab