Skip to content

Commit

Permalink
correction of a warning without mappability in older versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mirimia committed Dec 7, 2019
1 parent c9e3a6e commit 37b2f5f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/RI_MakeCoverageKey_v2.pl
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ sub verbPrint {
### Includes keys 2,3 and 4 of other events, but only 2 is real. 3 is always
### "NA" and "Reads" is just all the reads.
### The 5th key would be Ulrich's imbalanced test p-value and will be added later
# to solve a warning for some cases without mappability (likely older versions)
$intron_sample_cor_counts{$event}{$sample}="NA=0" if (!defined $intron_sample_cor_counts{$event}{$sample});
if (! (defined $eEI && defined $eIE && defined $eEE)) {
$Q.=",N,$intron_sample_cor_counts{$event}{$sample},$reads";
}
Expand Down

0 comments on commit 37b2f5f

Please sign in to comment.