]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/shuffle_seq
removed debug message
[biopieces.git] / bp_bin / shuffle_seq
index e7913971901b93525decb2176e5cd0c7319db099..009a785e4d728e2fb83daef080ebac44836a6a21 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl -w
+#!/usr/bin/env perl
 
 # Copyright (C) 2007-2009 Martin A. Hansen.
 
@@ -26,6 +26,7 @@
 # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
 
 
+use warnings;
 use strict;
 use Maasha::Biopieces;
 use Maasha::Seq;
@@ -43,7 +44,8 @@ $out = Maasha::Biopieces::write_stream( $options->{ "stream_out" } );
 
 while ( $record = Maasha::Biopieces::get_record( $in ) )
 {
-    $record->{ "SEQ" } = Maasha::Seq::seq_shuffle( $record->{ "SEQ" } ) if $record->{ "SEQ" };
+    $record->{ "SEQ" }    = Maasha::Seq::seq_shuffle( $record->{ "SEQ" } )    if $record->{ "SEQ" };
+    # $record->{ "SCORES" } = Maasha::Seq::seq_shuffle( $record->{ "SCORES" } ) if $record->{ "SCORES" }; # Hackery thing
 
     Maasha::Biopieces::put_record( $record, $out );
 }