Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix wiggle track header line so that it loads into UCSC correctly

  • Loading branch information...
commit 5f340a84204ca58feaaa59dda550e2463f628e1f 1 parent 03e15af
Lincoln Stein lstein authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Bio/Graphics/Browser2/TrackDumper.pm
4 lib/Bio/Graphics/Browser2/TrackDumper.pm
View
@@ -363,7 +363,7 @@ sub dump_bigwig {
if ($type ne $last_type or $name ne $last_name) {
print "\n" if $last_type or $last_name;
$name ||= $type;
- print qq(track type=wiggle_0 name="$key ($name)" description="Generated by GBrowse from $origin"\n);
+ print qq(track type=bedGraph name="$key ($name)" description="Generated by GBrowse from $origin"\n);
$last_type = $type;
}
@@ -504,7 +504,7 @@ sub print_bio_graphics_wigs {
for my $track_name (keys %$wigs) {
my $origin = $self->origin($label);
- print qq(track type=wiggle_0 name="$track_name" description="Generated by GBrowse from $origin; precision limited to 255 levels"\n);
+ print qq(track type=bedGraph name="$track_name" description="Generated by GBrowse from $origin; precision limited to 255 levels"\n);
for my $seqid (keys %{$wigs->{$track_name}}) {
for my $wigfile (keys %{$wigs->{$track_name}{$seqid}}) {
my ($start,$end) = @{$wigs->{$track_name}{$seqid}{$wigfile}};
Please sign in to comment.
Something went wrong with that request. Please try again.