Skip to content

Commit

Permalink
genbank_ref_extractor: typo on all instances of var name (fixing aest…
Browse files Browse the repository at this point in the history
…hetic only)
  • Loading branch information
carandraug committed Sep 22, 2011
1 parent cbc5cd5 commit 77c7e35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/Bio-DB-EUtilities/bp_genbank_ref_extractor.pl
Expand Up @@ -57,7 +57,7 @@ =head1 OPTIONS
is a regex that will case-insensitive. If it matches more than one assembly, it will
use the first match. It defauls to C<reference (primary )?assembly>.
=cut
my $assemly_regex = 'reference (primary )?assembly';
my $assembly_regex = 'reference (primary )?assembly';

=item B<--debug>
Expand Down Expand Up @@ -293,7 +293,7 @@ =head1 NOTES ON USAGE
################################################################################

GetOptions(
'assembly:s' => \$assemly_regex,
'assembly:s' => \$assembly_regex,
'debug' => \$debug,
'down|downstream=i' => \$downstream,
'format=s' => \$format,
Expand Down Expand Up @@ -534,7 +534,7 @@ sub analyze_entrez_genes {

foreach my $l (@{$result->{'locus'}}){
$l = $l->[0] if(ref($l) eq 'ARRAY');
next unless ($l->{'heading'} && $l->{'heading'} =~ m/$assemly_regex/i);
next unless ($l->{'heading'} && $l->{'heading'} =~ m/$assembly_regex/i);
my $ChrAccVer = $l->{'accession'};
my $ChrStart = $l->{'seqs'}->[0]->{'int'}->[0]->{'from'};
my $ChrStop = $l->{'seqs'}->[0]->{'int'}->[0]->{'to'};
Expand Down

0 comments on commit 77c7e35

Please sign in to comment.