Skip to content

Commit

Permalink
there is not really any reason to make flatfile-to-json users have th…
Browse files Browse the repository at this point in the history
…e reference sequences beforehand
  • Loading branch information
rbuels committed Mar 19, 2012
1 parent 867422c commit 7524eac
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions bin/flatfile-to-json.pl
Expand Up @@ -205,11 +205,6 @@ =head2 BED-SPECIFIC

my $gdb = GenomeDB->new( $outdir );

my %refSeqs = map { $_->{name} => $_ } @{ $gdb->refSeqs };

scalar keys %refSeqs
or die "run prepare-refseqs.pl first to supply information about your reference sequences";

pod2usage( "Must provide a --tracklabel parameter." ) unless defined $trackLabel;
pod2usage( "You must supply either a --gff or --bed parameter." )
unless defined $gff || defined $bed || defined $bam;
Expand Down Expand Up @@ -345,8 +340,6 @@ =head2 BED-SPECIFIC
my $totalMatches = 0;
while( my $feat = $sorter->get ) {

next unless $refSeqs{ $feat->[0] }; # skip features we have no ref seq for

unless( $curChrom eq $feat->[0] ) {
$curChrom = $feat->[0];
$track->finishLoad; #< does nothing if no load happening
Expand Down

0 comments on commit 7524eac

Please sign in to comment.