
对于序列是大写字母的fa文件若将序列转换为小写字母命令
sed '/^[A-Z]/s/[A-Z]/\l&/g' tese
sed '/>/!s/[A-Z]/\l&/g' tese
小写字母转换大写字母
sed '/^[a-z]/s/[a-z]/\u&/g' tese
sed '/>/!s/[a-z]/\u&/g' tese
对于序列是大写字母的fa文件若将序列转换为小写字母命令
sed '/^[A-Z]/s/[A-Z]/\l&/g' tese
sed '/>/!s/[A-Z]/\l&/g' tese
小写字母转换大写字母
sed '/^[a-z]/s/[a-z]/\u&/g' tese
sed '/>/!s/[a-z]/\u&/g' tese
本文标题:fasta格式大小写转换
本文链接:https://www.haomeiwen.com/subject/hpzhqltx.html
网友评论