Entering edit mode
12.9 years ago
User 3992
▴
10
Plz help me in the following code.Where is the $bio_seq. I am new to this area plz help. How can i run the code???? Its showing error message "MSG:Target sequence not defined."
use Bio::Tools::SiRNA;
my $sirna_designer = Bio::Tools::SiRNA->new( -target => $bio_seq,
-rules => 'tuschl');
my @pairs = $sirna_designer->design;
foreach $pair (@pairs) {
my $sense_oligo_sequence = $pair->sense->seq;
my $antisense_oligo_sequence = $pair->antisense->seq;
# print out results
print join ("\t", $pair->start, $pair->end, $pair->rank,
$sense_oligo_sequence, $antisense_oligo_sequence), "\n";
}
Is this the complete code? If so, the problem is obvious: it does not assign a value to the variable $bio_seq. You can't expect code to work if you are just copy-pasting with no understanding.
ya i know its not the complete code...i m just asking where should i put the value for $bio_seq??? plz help..i have no idea,..