Created
June 25, 2013 19:15
-
-
Save taoliu/5861468 to your computer and use it in GitHub Desktop.
Convert sequence.txt to fastq
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| perl -ne 'if (/^(\S+\/1)\:([ATCGN]+)\:(\S+)$/){print "@",$1,"\n",$2,"\n","+\n",$3,"\n";}' a.txt > a.fastq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
is there a way to convert from fastq to txt ?