]> git.donarmstrong.com Git - biopieces.git/commitdiff
swapped bedSort with bed_sort
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Tue, 11 Nov 2008 04:24:45 +0000 (04:24 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Tue, 11 Nov 2008 04:24:45 +0000 (04:24 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@301 74ccb610-7750-0410-82ae-013aeee3265d

code_perl/Maasha/Biopieces.pm

index 0af3b64efaf9fd207800350d6a9f2773ccd103a0..8fdc6a4174fe87b40eb9c5b6a483d108c3bceded 100644 (file)
@@ -2753,7 +2753,10 @@ sub script_calc_fixedstep
 
     foreach $chr ( sort keys %fh_hash )
     {
-        Maasha::Common::run( "bedSort", "$BP_TMP/$chr $BP_TMP/$chr" );
+        #Maasha::Common::run( "bedSort", "$BP_TMP/$chr $BP_TMP/$chr" );
+        Maasha::Common::run( "bed_sort", "--sort 3 --cols 5 $BP_TMP/$chr > $BP_TMP/$chr.sort" );
+
+        rename "$BP_TMP/$chr.sort", "$BP_TMP/$chr";
 
         $fh_in = Maasha::Common::read_open( "$BP_TMP/$chr" );