美文网首页
2020-07-07

2020-07-07

作者: zZzqiuQiu | 来源:发表于2020-07-07 20:12 被阅读0次

    本工作目录下的sample_dna.txt文件的DNA序列弄互补链

    rm(list = ls())
    library(Biostrings)
    data_dna = readLines("sample_data.txt")
    data_dna
    DNAString(data_dna)
    reverseComplement(DNAString(data_dna))
    toString(reverseComplement(DNAString(data_dna)))
    data_dna_a =toString(reverseComplement(DNAString(data_dna)))
    data_dna_a
    write(data_dna_a,file = "data_sample.txt")

    相关文章

      网友评论

          本文标题:2020-07-07

          本文链接:https://www.haomeiwen.com/subject/ksizqktx.html