Skip to content

Commit

Permalink
Merge pull request #15 from eastgenomics/remove_flanks
Browse files Browse the repository at this point in the history
remove 5 bp flank addition
  • Loading branch information
mattgarner authored May 20, 2020
2 parents 2915b40 + f75ca0f commit 79b620a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/home/dnanexus/vcf2xls_nirvana.pl
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ sub gene_performance {
$worst_exon{ "$RefSeq" }{'1to5'} += range2length($$coverage{'1to5'});
$worst_exon{ "$RefSeq" }{'6to9'} += range2length($$coverage{'6to9'});
$worst_exon{ "$RefSeq" }{'10to19'} += range2length($$coverage{'10to19'});
$worst_exon{ "$RefSeq" }{'transcript_length'} += $$region{ 'end' }-$$region{ 'start' } + 1 + 10; # 5bp flank * 2 = 10
$worst_exon{ "$RefSeq" }{'transcript_length'} += $$region{ 'end' }-$$region{ 'start' } + 1; # 0 vs 1 based coordinates

$exons{ "$RefSeq" }{ $exon_name }{ 'coverage' } = $coverage;
$exons{ "$RefSeq" }{ $exon_name }{ "$RefSeq" }{ 'region' } = $region;
Expand Down

0 comments on commit 79b620a

Please sign in to comment.