Skip to content

Commit

Permalink
Merge branch 'feature' into develop for minor bug fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
brainfood committed May 11, 2018
2 parents 563568d + 79554a1 commit 09a5962
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion norm_scripts/get_chr_stats.pl
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
$file = "$LOC/$line/EIJ/Unique/$line.filtered_u.numchr_count.txt";
}
foreach my $key (sort {&cmpChrs($a,$b)} keys %CHR){
my $find = `grep -w '$key' $file`;
my $find = `grep -w '^$key' $file`;
my $count = "0.00";
if ($find !~ /^$/){
my @f = split(/\t/,$find);
Expand Down
4 changes: 2 additions & 2 deletions norm_scripts/runall_normalization.pl
Original file line number Diff line number Diff line change
Expand Up @@ -2692,12 +2692,12 @@
print LOG "Check the following before proceeding:\n\n";

if ($GNORM eq "true"){
$exp_num_reads = `grep -A 3 Expected $s_dir/GENE/expected_num_reads_gnorm.txt" | grep -A 3 estimate`;
$exp_num_reads = `grep -A 3 Expected $s_dir/GENE/expected_num_reads_gnorm.txt | grep -A 3 estimate`;
chomp($exp_num_reads);
print LOG "\n[Gene Normalization]\n";
print LOG "(1) Number of reads\n";
print LOG "$exp_num_reads\n";
print LOG "See \"$exp_file\" \nand modify the list of sample directories (\"$sample_dir\") accordingly to get more reads.\n\n";
print LOG "See \"$s_dir/GENE/expected_num_reads_gnorm.txt\" \nand modify the list of sample directories (\"$sample_dir\") accordingly to get more reads.\n\n";
print LOG "(2) High Expressers\n";
my @highfiles = glob("$s_dir/GENE/percent_high_expresser_gene*txt");
my $highcnt = 0;
Expand Down

0 comments on commit 09a5962

Please sign in to comment.