bioinformatics… politics… recipes… (mostly notes to self.)
sed '/^[^>]/ y/uU/tT/' uracil.fasta > thymine.fasta
As a follow up, to strip ambiguous nucleotides from a fasta file, you could use:sed '/^[^>]/ s/n//g'
As a follow up, to strip ambiguous nucleotides from a fasta file, you could use:
ReplyDeletesed '/^[^>]/ s/n//g'