X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_bin%2Fanalyze_bed;h=ea16d8ac4d7f782ce9ef655734aaddcf38e1f9f4;hb=27a34d675d07468851f2076a62ca2b8dbefb5923;hp=544424f1be1f8d42e0181fa97b5ee9cdc659e5fd;hpb=66938be910a5642b50ddf28991649858b5c36580;p=biopieces.git diff --git a/bp_bin/analyze_bed b/bp_bin/analyze_bed index 544424f..ea16d8a 100755 --- a/bp_bin/analyze_bed +++ b/bp_bin/analyze_bed @@ -1,4 +1,4 @@ -#!/usr/bin/env perl -w +#!/usr/bin/env perl # Copyright (C) 2007-2009 Martin A. Hansen. @@ -26,9 +26,10 @@ # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< +use warnings; use strict; use Maasha::Biopieces; -use Maasha::UCSC; +use Maasha::UCSC::BED; # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< @@ -43,7 +44,7 @@ $out = Maasha::Biopieces::write_stream( $options->{ "stream_out" } ); while ( $record = Maasha::Biopieces::get_record( $in ) ) { - $record = Maasha::UCSC::bed_analyze( $record ) if $record->{ "REC_TYPE" } eq "BED"; + $record = Maasha::UCSC::BED::bed_analyze( $record ) if $record->{ "REC_TYPE" } eq "BED"; Maasha::Biopieces::put_record( $record, $out ); }