Protect Your Dream, Protect Your Happiness.
Tuesday, July 29, 2014
Form FastQ to FastA
awk 'NR % 4 == 1 {print ">" $0 } NR % 4 == 2 {print $0}' my.fastq > my.fasta
awk 'BEGIN{P=1}{if(P==1||P==2){gsub(/^[@]/,">");print}; if(P==4)P=0; P++}' Head-80k-ChIA-PET.fastq > Head-80k-ChIA-PET.fasta
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment