X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_bin%2Fcalc_fixedstep;h=e98b63a9c8828337f093310573e59a08e7164c86;hb=48bea5c28b89dc5586d0bddb338ccd6ba23aa1f9;hp=17c3d0d981f60ac28dba6a33c53834dbc8b73e0e;hpb=5e014d5c454d23e0eb211beab24f0365a09bc104;p=biopieces.git diff --git a/bp_bin/calc_fixedstep b/bp_bin/calc_fixedstep index 17c3d0d..e98b63a 100755 --- a/bp_bin/calc_fixedstep +++ b/bp_bin/calc_fixedstep @@ -1,6 +1,6 @@ #!/usr/bin/env perl -# Copyright (C) 2007-2009 Martin A. Hansen. +# Copyright (C) 2007-2010 Martin A. Hansen. # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -42,9 +42,8 @@ my ( $options, $in, $out, $record, $tmp_dir, $bed_file, $fh_in, $fh_out, $options = Maasha::Biopieces::parse_options( [ - { long => 'check', short => 'C', type => 'flag', mandatory => 'no', default => undef, allowed => undef, disallowed => undef }, - { long => 'use_score', short => 'u', type => 'flag', mandatory => 'no', default => undef, allowed => undef, disallowed => undef }, - { long => 'use_log10', short => 'l', type => 'flag', mandatory => 'no', default => undef, allowed => undef, disallowed => undef }, + { long => 'check', short => 'C', type => 'flag', mandatory => 'no', default => undef, allowed => undef, disallowed => undef }, + { long => 'log10', short => 'l', type => 'flag', mandatory => 'no', default => undef, allowed => undef, disallowed => undef }, ] ); @@ -75,7 +74,7 @@ foreach $chr ( sort keys %{ $file_hash } ) { $bed_file = $file_hash->{ $chr }; - $fixedstep_file = Maasha::UCSC::Wiggle::fixedstep_calc( $bed_file, $chr, $options->{ 'use_score' }, $options->{ 'use_log10' } ); + $fixedstep_file = Maasha::UCSC::Wiggle::fixedstep_calc( $bed_file, $chr, $options->{ 'log10' } ); #$fixedstep_file = "$bed_file.fixedstep";