[Bioperl-l] Bioperl wiki 'working examples' - SeqIO HOWTO

Erik er at xs4all.nl
Mon Jan 8 11:30:33 EST 2007


Hi Brian

I agree with you about leaving the >< prefix out, but in the code-comments
just below this link:

http://www.bioperl.org/wiki/HOWTO:SeqIO#Working_Examples

it says:

[...]
# Although it is optional, it is good
# programming practice to provide > and < in front of any
# filenames provided in the -file parameter. This makes the
# resulting filehandle created by SeqIO explicitly read (<)
# or write(>).  It will definitely help others reading your
# code understand the function of the SeqIO object.
[...]

So it would be a little strange to do it differently in the same doc.

Ah well. If 'my' change is not wrong, I'll leave it for now. The code
example now works (there was another little bug).

Thanks :)

Erikjan



> Erik,
>
> I don't think I've ever seen "<$file" in any of the Bioperl documentation,
> all I've seen is "$file", personally I'd prefer the second, simpler
> version.
>
> Brian O.
>
>
> On 1/8/07 10:14 AM, "Erik" <er at xs4all.nl> wrote:
>
>> Hi all,
>>
>> Although I think the following change to the SeqIO HowTo is an
>> improvement, I would like someone to confirm that. (I don't use these
>> '>'
>> and  '<' prefixes myself)
>>
>> http://www.bioperl.org/w/index.php?title=HOWTO:SeqIO&curid=1488&diff=9268&oldi
>> d=9257
>>
>>
>> Thanks,
>> Erikjan
>>
>> _______________________________________________
>> Bioperl-l mailing list
>> Bioperl-l at lists.open-bio.org
>> http://lists.open-bio.org/mailman/listinfo/bioperl-l
>
>
>




More information about the Bioperl-l mailing list