Thanks. That removed 2 of the error lines. The first 2. Now these are left:
Use of uninitialized value $1 in hash element at C:\Users\Jems\Desktop
+\Perl\test\test2script.plx line 26.
Use of uninitialized value $1 in hash element at C:\Users\Jems\Desktop
+\Perl\test\test2script.plx line 27.
Use of uninitialized value $1 in hash element at C:\Users\Jems\Desktop
+\Perl\test\test2script.plx line 28.
lines 26, 27 and 28 are:
for ( read_file $uniprot ) {
/(.{6})\s+.+=([^\s]+)/;
push @activline, "$1 | $2 | $activ{$1}\n" if $activ{$1}; #26
push @antioxline, "$1 | $2 | $antiox{$1}\n" if $antiox{$1}; #27
push @toxinline, "$1 | $2 | $toxin{$1}\n" if $toxin{$1};#28
The format for $uniprot is the same as for $test. I.E.
Q197F8 ORFNames=IIV3-002R
Q197F7 ORFNames=IIV3-003L
Q6GZX2 ORFNames=FV3-003R
Q6GZX1 ORFNames=FV3-004R
Q197F5 ORFNames=IIV3-005L
Q6GZX0 ORFNames=FV3-005R ;PF02393
Q91G88 ORFNames=IIV6-006L ;PF12299;PF04383
Q6GZW9 ORFNames=FV3-006R
Thanks again!
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|