On Mon, Jun 7, 2010 at 11:12 PM, Fahim Md <fahim.md@gmail.com> wrote:

> I have a data File, the format of which is given below. It has two fields,
> namely  sequence and probeset name.
>    sequence                                       Probe Set Name
> GCTACTTTACTCCAGAATTTTGTTA      1367452_at.1
> TTAGAAAGCCGCAATTTGGTCCCGC    1367452_at.2
> GCCACATCCTGACTACTGCAGTATA     1367452_at.3
> ............
> AAAAAAAAGGGGGGGTCCCCCCCC     1234567_at.1
>
>
> Now, I want to convert that into FASTA format as follows
>
> >1367452_at.1
> GCTACTTTACTCCAGAATTTTGTTA
> >1367452_at.2
> TTAGAAAGCCGCAATTTGGTCCCGC
> >1367452_at.3
> GCCACATCCTGACTACTGCAGTATA
> .......
> ....
> >1234567_at.1
> AAAAAAAAAAAAACCCCCCCCCCCC
>
>
> I am getting the required output by using writeFASTA(..) function but it is
> too slow because I am using loop and in every loop it access the file to
> write into.
>
> Is there anyway through which I can write this fasta information into some
> variable and once I am done I write back that  variable into the required
> file.
>
>
Hi,Fahim.

Probably most appropriate for here and not bioc-devel.  Perhaps a
reproducible code example and some sessionInfo() would be helpful.

Sean

	[[alternative HTML version deleted]]

