美文网首页
fasta格式大小写转换

fasta格式大小写转换

作者: 啊吧啊吧鸭 | 来源:发表于2021-03-04 11:42 被阅读0次

    对于序列是大写字母的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