[Bioperl-l] longest ORF
Dan Kortschak
Dan Kortschak <kortschak@rsbs.anu.edu.au>
Thu, 1 Aug 2002 11:30:11 +1000 (EST)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
--98048-366868266-1028165411=:23010
Content-Type: TEXT/PLAIN; charset=US-ASCII
Done, and with docs. Any errors (biological): please feel free to correct
them.
Dan
On Wed, 31 Jul 2002, Brian Osborne wrote:
> Dan,
>
> >> (if its worth putting in as a demo
> >> script or including - after OOing and making it accept strict it a bit -
> >> please let me know):
>
> Yes, it's a neat example script and one that's oft-requested. Make it strict
> and I or we will put it into the examples/ directory under your name.
>
> Brian O.
--
_____________________________________________________________ .`.`o
o| ,\__ `./`r
Dan Kortschak kortschak@rsbs.anu.spanner.edu.au <\/ \_O> O
"|`...'.\
Before you criticise a man, try to walk a mile in his ` :\
shoes. Then, if he doesn't like what you have to say, : \
you'll be a mile away, and you'll have his shoes. : \
The address above will not work, remove the spanner from the works.
By replying to this email you implicitly accept that your response may
be forwarded to other recipients.
Permission is granted for fair use reproduction.
--98048-366868266-1028165411=:23010
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=longorf
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.44.0208011130110.23010@sunya.rsbs.anu.edu.au>
Content-Description:
Content-Disposition: attachment; filename=longorf
IyEvdXNyL2Jpbi9wZXJsIC13DQojIGxvbmdvcmYucGwNCiMgKGMpIERhbiBL
b3J0c2NoYWsgMjAwMg0KDQp1c2UgdmFycyBxdygkVVNBR0UpOw0KDQp1c2Ug
c3RyaWN0Ow0KdXNlIEdldG9wdDo6TG9uZzsNCnVzZSBCaW86OlNlcUlPOw0K
DQokVVNBR0UgPSAibG9uZ29yZiBbLS1oZWxwXSBbLS1ub3RzdHJpY3RdIFst
LXZlcmJvc2VdIFstLWdyYXBoXSBbLS13aWR0aCBwcmludHdpZHRoXSBbLS1m
b3JtYXQgc2VxZ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