User Profile

Collapse

Profile Sidebar

Collapse
HalfCoded
HalfCoded
Last Activity: Jun 12 '08, 02:40 PM
Joined: Mar 21 '08
Location: UK
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • HalfCoded
    started a topic Using hashes or arrays for file parsing
    in Perl

    Using hashes or arrays for file parsing

    hi everyone,

    I am kind of stuck and therefore would really appreciate some clues:

    I actually have to run a script which has to compare two elements from two different files which are a blast file and a cdf file
    I need also to keep the data structure
    For this I chose the following strategy:

    -dumping the files into two arrays
    -doing a pattern matching between the two files.
    ...
    See more | Go to post
    Last edited by HalfCoded; Jun 10 '08, 04:08 PM. Reason: incorrect html tags

  • HalfCoded
    replied to Syntax error in a motif finder code
    in Perl
    Thanks very much.
    For the other error at line 61 I tried and figured out with the help of a friend that my value "$motif" was not declared until the end so I did that instead

    [CODE=perl]#In a loop, ask the user for a motif, search for it and report if it was found
    #exit if no motif entered

    my $motif;

    do {
    print "Enter a motif to search for: ";

    ...
    See more | Go to post

    Leave a comment:


  • HalfCoded
    started a topic Syntax error in a motif finder code
    in Perl

    Syntax error in a motif finder code

    Hi everyone,

    I am currently working at learning perl but come up with two problems i can't clear on my own.
    I use perl version 5.8 on windows xp
    The complete I am working on is supposed to find motifs in a sequence.
    This is the complete code

    [CODE=perl]#!/usr/bin/perl -w

    use strict;
    #Searching for motifs
    #Ask the user for the filename containing the sequence....
    See more | Go to post
No activity results to display
Show More
Working...