Skip to content

Commit

Permalink
Fix to compute last complete codon
Browse files Browse the repository at this point in the history
  • Loading branch information
likhitha-surapaneni committed Nov 12, 2024
1 parent 8bc7a92 commit 8ab55ba
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions t/Parser_VCF.t
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ open STDERR, '>', \$tmp;

my $cvf = Bio::EnsEMBL::VEP::Parser::VCF->new({
config => Bio::EnsEMBL::VEP::Config->new({%$base_testing_cfg, gp => 1, max_sv_size => 1000, warning_file => 'STDERR'}),
file => $test_cfg->create_input_file([qw(1 774569 gnomAD_v2_CPX_1_1 N <CPX> 1 PASS END=828435;SVTYPE=CPX;CHR2=1;SVLEN=53959)]),
file => $test_cfg->create_input_file([qw(1 774569 gnomAD_v2_CPX_1_1 N <CPX> 1 PASS END=828435;SVTYPE=CPX;CHR2=1;SVLEN=53866)]),
valid_chromosomes => [1]
})->next();
delete($cvf->{adaptor}); delete($cvf->{_line});
Expand Down Expand Up @@ -669,7 +669,7 @@ is_deeply($svf->{class_SO_term}, 'LINE1_deletion',
## CNV: deletion
my $cnv_vf = Bio::EnsEMBL::VEP::Parser::VCF->new({
config => Bio::EnsEMBL::VEP::Config->new({%$base_testing_cfg, gp => 1, warning_file => 'STDERR'}),
file => $test_cfg->create_input_file([qw(1 774569 gnomAD_v2_DEL_1_1 N <CN=0> 1 PASS END=828435;SVTYPE=DEL;CHR2=1;SVLEN=53959)]),
file => $test_cfg->create_input_file([qw(1 774569 gnomAD_v2_DEL_1_1 N <CN=0> 1 PASS END=828435;SVTYPE=DEL;CHR2=1;SVLEN=53866)]),
valid_chromosomes => [1]
})->next();
delete($cnv_vf->{adaptor}); delete($cnv_vf->{_line});
Expand All @@ -694,7 +694,7 @@ is_deeply($cnv_vf, bless( {
## CNV: duplication
$cnv_vf = Bio::EnsEMBL::VEP::Parser::VCF->new({
config => Bio::EnsEMBL::VEP::Config->new({%$base_testing_cfg, gp => 1, warning_file => 'STDERR'}),
file => $test_cfg->create_input_file([qw(1 774569 gnomAD_v2_DEL_1_1 N <CN2> 1 PASS END=828435;SVTYPE=DUP;CHR2=1;SVLEN=53959)]),
file => $test_cfg->create_input_file([qw(1 774569 gnomAD_v2_DEL_1_1 N <CN2> 1 PASS END=828435;SVTYPE=DUP;CHR2=1;SVLEN=53866)]),
valid_chromosomes => [1]
})->next();
delete($cnv_vf->{adaptor}); delete($cnv_vf->{_line});
Expand All @@ -719,7 +719,7 @@ is_deeply($cnv_vf, bless( {
## CNV: generic
$cnv_vf = Bio::EnsEMBL::VEP::Parser::VCF->new({
config => Bio::EnsEMBL::VEP::Config->new({%$base_testing_cfg, gp => 1, warning_file => 'STDERR'}),
file => $test_cfg->create_input_file([qw(1 774569 gnomAD_v2_DEL_1_1 N <CN0>,<CN=2> 1 PASS END=828435;SVTYPE=CNV;CHR2=1;SVLEN=53959)]),
file => $test_cfg->create_input_file([qw(1 774569 gnomAD_v2_DEL_1_1 N <CN0>,<CN=2> 1 PASS END=828435;SVTYPE=CNV;CHR2=1;SVLEN=53866)]),
valid_chromosomes => [1]
})->next();
delete($cnv_vf->{adaptor}); delete($cnv_vf->{_line});
Expand All @@ -743,7 +743,7 @@ is_deeply($cnv_vf, bless( {

my $cnv2_vf = Bio::EnsEMBL::VEP::Parser::VCF->new({
config => Bio::EnsEMBL::VEP::Config->new({%$base_testing_cfg, gp => 1, warning_file => 'STDERR'}),
file => $test_cfg->create_input_file([qw(1 774569 gnomAD_v2_DEL_1_1 N <CNV> 1 PASS END=828435;SVTYPE=CNV;CHR2=1;SVLEN=53959)]),
file => $test_cfg->create_input_file([qw(1 774569 gnomAD_v2_DEL_1_1 N <CNV> 1 PASS END=828435;SVTYPE=CNV;CHR2=1;SVLEN=53866)]),
valid_chromosomes => [1]
})->next();
delete($cnv2_vf->{adaptor}); delete($cnv2_vf->{_line});
Expand Down

0 comments on commit 8ab55ba

Please sign in to comment.