in reply to converting fastaq to fasta

my@e=<read>; exhausts the read filehandle, thus the while (<1.txt> loop (which also misses a closing paren) never runs.

Replies are listed 'Best First'.
Re^2: converting fastaq to fasta
by Anonymous Monk on Feb 08, 2012 at 06:29 UTC

    no actually while executing i closed the while loop. if the file is like this..

    @NCYC361-11a03.q1k bases 1 to 1576 GCGTGCCCGAAAAAATGCTTTTGGAGCCGCGCGTGAAAT... +NCYC361-11a03.q1k bases 1 to 1576 !)))))****(((***%%((((*(((+,**(((+**+,-
    and i need to convert it to..
    >GCGTGCCCGAAAAAATGCTTTTGGAGCCGCGCGTGAAAT...
    what should i do