标签:处理 ++ let div span paste com pre complete
awk ‘/^>/ {printf("%s%s\t",(N>0?"\n":""),$0);N++;next;} {printf("%s",$0);} END {printf("\n");}‘ < input.fa cat Rmh.fasta | awk ‘{printf("%s%s",$0,((NR+1)%2==1?"\n":"\t"));}‘ | less -S curl -s "ftp://ftp.uniprot.org/pub/databases/uniprot/current_release/knowledgebase/complete/uniprot_sprot.fasta.gz" | gunzip -c | awk ‘/^>/ {printf("%s%s\t",(N>0?"\n":""),$0);N++;next;} {printf("%s",$0);} END {printf("\n");}‘ | less -S cat input.fasta | paste - - | less -S
cat Rmh.fastq | awk ‘{printf("%s%s",$0,((NR+1)%4==1?"\n":"\t"));}‘ | less -S cat input.fastq | paste - - - - | less -S
标签:处理 ++ let div span paste com pre complete
原文地址:https://www.cnblogs.com/0820LL/p/11411772.html