File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -839,7 +839,7 @@ sub GetBiotypePriority {
839
839
840
840
# If there are additional INFO data to add, then add those
841
841
foreach my $info_col ( @addl_info_cols ) {
842
- $maf_line {$info_col } = ( $info {$info_col } ? $info {$info_col } : " " );
842
+ $maf_line {$info_col } = ( defined $info {$info_col } ? $info {$info_col } : " " );
843
843
}
844
844
845
845
# If this is an SV, pair up gene names from separate lines to backfill the Fusion column later
@@ -882,7 +882,7 @@ sub GetBiotypePriority {
882
882
}
883
883
else {
884
884
# Write the gene-pair name into the Fusion column if it was backfilled earlier
885
- my @cols = split ( / \t / , $line );
885
+ my @cols = split ( / \t / , $line , -1 );
886
886
my $sv_key = $cols [$var_id_idx ] . " -" . $cols [$tid_idx ];
887
887
$cols [$fusion_idx ] = $sv_pair {$sv_key } if ( $sv_pair {$sv_key } );
888
888
$out_maf_fh -> print ( join ( " \t " , @cols ) . " \n " );
You can’t perform that action at this time.
0 commit comments