Bioperl Sirna Design
0
0
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";
}
bioperl • 2.0k views
ADD COMMENT
4
Entering edit mode

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.

ADD REPLY
0
Entering edit mode

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,..

ADD REPLY

Login before adding your answer.

Traffic: 2962 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6