R
Rita
Hi all,
I have a output file where data store like-
print OUTPUT">
\t$seqid\t\t(Start,End)=","\(",$end+1,"\,",$start3-1,"\)\n$intron_seq\n";
now I want to extract that intron_seq from this file so i am using
split function-
(my ($seqid, $sequence) = (split /\t/, $line)[0,2]);
print "Sequence ID- $seqid\n\n";
print "Sequence- $sequence\n";
then I am getting output
Sequence ID- >
Sequence-
Sequence ID- ABCDHJUEIEROJEOFJDLFJDLJFDLJDLOFOFUOFJ
use of uninitialized value in concatenation (.) or string at
filename.pl line 25,<FILEHANDLE> line 8.
If i print just
my ( $sequence) = (split /\t/, $line)[0];
print "Sequence - $seq\n\n";
than I am getting output
Sequence->
Sequence ID- ABCDHJUEIEROJEOFJDLFJDLJFDLJDLOFOFUOFJ
though I just want to split this sequence not another data.I tried \n
and \s at place oh \t .
How I can do this?
Thanks.
I have a output file where data store like-
print OUTPUT">
\t$seqid\t\t(Start,End)=","\(",$end+1,"\,",$start3-1,"\)\n$intron_seq\n";
now I want to extract that intron_seq from this file so i am using
split function-
(my ($seqid, $sequence) = (split /\t/, $line)[0,2]);
print "Sequence ID- $seqid\n\n";
print "Sequence- $sequence\n";
then I am getting output
Sequence ID- >
Sequence-
Sequence ID- ABCDHJUEIEROJEOFJDLFJDLJFDLJDLOFOFUOFJ
use of uninitialized value in concatenation (.) or string at
filename.pl line 25,<FILEHANDLE> line 8.
If i print just
my ( $sequence) = (split /\t/, $line)[0];
print "Sequence - $seq\n\n";
than I am getting output
Sequence->
Sequence ID- ABCDHJUEIEROJEOFJDLFJDLJFDLJDLOFOFUOFJ
though I just want to split this sequence not another data.I tried \n
and \s at place oh \t .
How I can do this?
Thanks.