[Bioperl-l] Bioperl graphics

Scott Cain scott at scottcain.net
Mon Jun 6 13:31:47 UTC 2011


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




More information about the Bioperl-l mailing list