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.
...
User Profile
Collapse
-
Using hashes or arrays for file parsing
-
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: ";
... -
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....
No activity results to display
Show More
Leave a comment: