Help for this page

Select Code to Download


  1. or download this
    sub getSeqfromfasta2lmers
    {
    ...
        } #end while
        return @seqs;
    }
    
  2. or download this
    my $nofseq   = scalar( getSeqfromfasta2lmers( $file ) );
    
  3. or download this
            my @input_seqs          = getSeqfromfasta2lmers($file);
    
  4. or download this
            my $ip                  = @input_seqs;
    
  5. or download this
    sub getSeqfromfasta2lmers {
        my $file = shift;
    ...
        my $in = Bio::SeqIO->newFH( -format => 'fasta', -fh => $fh );
        return <$in>; ### MUST BE CALLED IN A LIST CONTEXT!!!!
    }
    
  6. or download this
    ## Get the sequences.
    my @input_seqs = getSeqfromfasta2lmers($file);
    ## And a count of them
    my $nofseq      = @input_seqs;
    
  7. or download this
    sub main_process {
    ....
    ...
    ## replace references to $ip with $nofseq
    
    ## DELETE    my $ip                  = @input_seqs;
    
  8. or download this
    sub getlmersfromseq {
        my  ($seqsarr,$l)= @_;
    ...
        my @uniq_lmers = uniq @lmers;
        return @uniq_lmers;
    }
    
  9. or download this
    sub getlmersfromseq {
        my  ($seqsarr,$l)= @_;
        return uniq map {substrings $_, $l} @{$seqsarr};
    }
    
  10. or download this
    sub gen_param {
        my ( $file, $file_neg, $nofseq ) = @_;
    ...
        }
        return @param_groups;
    }
    
  11. or download this
    $hash{ 'some complicated key' } = [@matches];
    
  12. or download this
    $hash{ 'some complicated key' } = \@matches;
    
  13. or download this
        my $output = main_process( @{$_}{
            qw/ file file_neg submt_len submt_d e W_size lp support_thresh
    +old min_inst_lower min_inst_upper polyTA_lim poly_lim /
        });
        $result{ 'ParamGroup' . $count++ } = $output;
    
  14. or download this
        }    # -----  end foreach $mcands  -----
        return;
    }