[Bioperl-l] Bioperl graphics

Smithies, Russell Russell.Smithies at agresearch.co.nz
Tue Jun 7 04:28:05 UTC 2011


http://tinyurl.com/3mebmjj

--Russell



From: Shachi Gahoi [mailto:shachigahoimbi at gmail.com] 
Sent: Tuesday, 7 June 2011 4:09 p.m.
To: Smithies, Russell
Cc: Scott Cain; Chris Fields; bioperl-l at lists.open-bio.org
Subject: Re: [Bioperl-l] Bioperl graphics

If I cant put graphics in my text file then is it possible to insert graphics in .doc file using perl script?

Actually I want to save graphics output as well as text output in one file using perl script.

Is there any other way to do that please help me.

On Tue, Jun 7, 2011 at 3:32 AM, Smithies, Russell <Russell.Smithies at agresearch.co.nz> wrote:
Depending on what browser you're using, you can embed images in HTML using base64 encoding:

<img alt="Embedded Image"
 src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIA..." />

We've used it before (a few years ago) but I think it only worked with Firefox then.

--Russell




> -----Original Message-----
> From: bioperl-l-bounces at lists.open-bio.org [mailto:bioperl-l-
> bounces at lists.open-bio.org] On Behalf Of Scott Cain
> Sent: Tuesday, 7 June 2011 3:37 a.m.
> To: Chris Fields
> Cc: bioperl-l at lists.open-bio.org; Shachi Gahoi
> Subject: Re: [Bioperl-l] Bioperl graphics
>
> Hi Chris,
>
> Thanks for the catch--yes, that is exactly what I meant.
>
> Scott
>
>
> On Mon, Jun 6, 2011 at 11:24 AM, Chris Fields <cjfields at illinois.edu>
> wrote:
> > Agreed, except you probably mean 'rtf' instead of 'rdf', correct?
> >
> > chris
> >
> > On Jun 6, 2011, at 8:31 AM, Scott Cain wrote:
> >
> >> Hi Sachi,
> >>
> >> You can't put graphics in a text file--that's why it's called a text
> >> file.  You need a format that can do more, like pdf, html or rdf.
> >> What are these files going to be used for?
> >>
> >> Scott
> >>
> >>
> >> On Sat, Jun 4, 2011 at 7:03 AM, Shachi Gahoi
> <shachigahoimbi at gmail.com> wrote:
> >>> Dear All,
> >>>
> >>> My question is can I insert image file in text output file using
> perl?
> >>>
> >>> Half portion of my perl script output is "a1.txt" file and another
> half
> >>> portion of perl script output is "a1.png" (created by Bio::Graphics
> module).
> >>>
> >>> Now I want to insert a1.png image file in a1.txt file. or I can say
> that I
> >>> want to store image output file a1.png in a1.txt file.
> >>>
> >>>
> ####################################################################*
> >>> Here is sample of my a1.txt file *-
> >>>
> >>> Left primer: CARGAYATHATHTTYGCN  Length:18  Start:125  End:142
> >>> Opt_Tm:44.84  GC%: 22.22
> >>>
> >>> Right primer:GCNCGNGCNTAYAAYACN  Length:18  Start:828  End:845
> >>> Opt_Tm:53.82  GC%: 38.89
> >>>
> >>>
> ####################################################################
> >>> *Desired output *
> >>>
> >>> Left primer: CARGAYATHATHTTYGCN  Length:18  Start:125  End:142
> >>> Opt_Tm:44.84  GC%: 22.22
> >>>
> >>> Right primer:GCNCGNGCNTAYAAYACN  Length:18  Start:828  End:845
> >>> Opt_Tm:53.82  GC%: 38.89
> >>>
> >>> and now i want to store a1.png file in the below of a1.txt file
> >>>
> >>> *Here I want to print my image file
> >>> *
> >>>
> >>>
> >>> ###################################################################
> >>>
> >>> How can I do this. If anyone know please my help me.
> >>>
> >>>
> >>> Thanks in advance
> >>>
> >>>
> >>> --
> >>> Regards,
> >>> Shachi
> >>> _______________________________________________
> >>> Bioperl-l mailing list
> >>> Bioperl-l at lists.open-bio.org
> >>> http://lists.open-bio.org/mailman/listinfo/bioperl-l
> >>>
> >>
> >>
> >>
> >> --
> >> --------------------------------------------------------------------
> ----
> >> Scott Cain, Ph. D.                                   scott at
> scottcain dot net
> >> GMOD Coordinator (http://gmod.org/)                     216-392-3087
> >> Ontario Institute for Cancer Research
> >>
> >> _______________________________________________
> >> Bioperl-l mailing list
> >> Bioperl-l at lists.open-bio.org
> >> http://lists.open-bio.org/mailman/listinfo/bioperl-l
> >
> >
>
>
>
> --
> -----------------------------------------------------------------------
> -
> Scott Cain, Ph. D.                                   scott at scottcain
> dot net
> GMOD Coordinator (http://gmod.org/)                     216-392-3087
> Ontario Institute for Cancer Research
>
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l
=======================================================================
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
=======================================================================



-- 
Regards,
Shachi




More information about the Bioperl-l mailing list